1 of 62

COMPUTER COMMUNICATION NETWORKS

MITE-Moodabidri

1

Module-3

2 of 62

MITE-Moodabidri

2

CO-Describe Architecture of Wireless LAN- IEEE 802.11,connecting devices, Virtual LAN and Analyze IPV4 addressing

Module-3

Wireless LANs: Introduction: Architectural Comparison, Characteristics, IEEE 802.11:Architecture, MAC sublayer, Adressing Mechanism, Physical Layer, Bluetooth: Architecture, Layers.

Connecting Devices: Hubs, Switches, Virtual LANs: Membership, Configuration, Communication between Switches, Advantages.

Network Layer: Introduction, Network Layer services: Packetizing, Routing and Forwarding, Other services, Packet Switching: Datagram Approach, Virtual Circuit Approach, IPV4 Addresses: Address Space, Classful Addressing, Classless Addressing, DHCP, Network Address Resolution, Forwarding of IP Packets: Based on destination Address and Label.

Total lecture hours-10

3 of 62

MITE-Moodabidri

3

3.1 WLAN INTRODUCTION

Wireless communication is one of the fastest-growing technologies. The demand for connecting devices without the use of cables is increasing everywhere. Wireless LANs can be found on college campuses, in office buildings, and in many public areas.

4 of 62

MITE-Moodabidri

4

3.1.1Architectural Comparison

i.Medium

When hosts in a wireless LAN communicate with each other, they are sharing the same medium (multiple access). In a very rare situation, we may be able to create a point-to-point communication between two wireless hosts by using a very limited bandwidth and two-directional antennas. Our discussion in this chapter, however, is about the multiple-access medium, which means we need to use MAC protocols.

ii.Hosts

In a wireless LAN, a host is not physically connected to the network; it can move freely (as we’ll see) and can use the services provided by the network. Therefore, mobility in a wired network and wireless network are totally different issues

5 of 62

MITE-Moodabidri

5

3.1.1Architectural Comparison

iii. Isolated LANs

iv. Connection to Other Networks

6 of 62

MITE-Moodabidri

6

3.1.2 Characteristics

  • Attenuation
  • Interference
  • Multipath Propagation
  • Error

7 of 62

MITE-Moodabidri

7

3.2 IEEE 802.11

3.2.1 Architecture

Basic Service Set

Extended Service Set

8 of 62

MITE-Moodabidri

8

3.2 IEEE 802.11

3.2.2MAC Sublayer

9 of 62

MITE-Moodabidri

9

3.2 IEEE 802.11

3.2.2MAC Sublayer

CSMA/CA and NAV

10 of 62

MITE-Moodabidri

10

3.2 IEEE 802.11

3.2.2MAC Sublayer

Frame format

11 of 62

MITE-Moodabidri

11

3.2 IEEE 802.11

3.2.3Addressing Mechanism

12 of 62

MITE-Moodabidri

12

3.2 IEEE 802.11

3.2.3Addressing Mechanism

13 of 62

MITE-Moodabidri

13

3.2 IEEE 802.11

3.2.4Physical Layer

14 of 62

MITE-Moodabidri

14

3.3 BLUETOOTH

3.3.1 Architecture

15 of 62

MITE-Moodabidri

15

3.3 BLUETOOTH

3.3.2 Bluetooth Layers

16 of 62

MITE-Moodabidri

16

3.3 BLUETOOTH

3.3.2 Bluetooth Layers

L2CAP

multiplexing, segmentation and reassembly, quality of service (QoS), and group management.

Baseband Layer

The baseband layer is roughly equivalent to the MAC sublayer in LANs. The access method is TDMA

Radio Layer

Band-2.4-GHz ISM band divided into 79 channels of 1 MHz

FHSS-to avoid interference

Modulation-GFSK

17 of 62

MITE-Moodabidri

17

3.3 BLUETOOTH

3.3.2 Bluetooth Layers

18 of 62

MITE-Moodabidri

18

3.3 BLUETOOTH

3.3.2 Bluetooth Layers

19 of 62

MITE-Moodabidri

19

3.3 BLUETOOTH

3.3.2 Bluetooth Layers

Links

SCO A synchronous connection-oriented (SCO) link is used when avoiding

latency

ACL An asynchronous connectionless link (ACL) is used when data integrity is

more important than avoiding latency

Frame Format

20 of 62

MITE-Moodabidri

20

3.4 Connecting Devices

21 of 62

MITE-Moodabidri

21

3.4 Connecting Devices

Hubs

22 of 62

MITE-Moodabidri

22

3.4 Connecting Devices

Switches

23 of 62

MITE-Moodabidri

23

3.5 Virtual LANs

A station is considered part of a LAN if it physically belongs to that LAN. The criterion of membership is geographic. What happens if we need a virtual connection between two stations belonging to two different physical LANs? We can roughly define a virtual local area network (VLAN) as a local area network configured by software, not by physical wiring.

24 of 62

MITE-Moodabidri

24

3.5 Virtual LANs

A switch using VLAN software

25 of 62

MITE-Moodabidri

25

3.5 Virtual LANs

Two switches in a backbone using VLAN software

26 of 62

MITE-Moodabidri

26

3.5 Virtual LANs

3.5.1 Membership

  • Interface Numbers
  • MAC Addresses
  • IP Addresses
  • Multicast IP Addresses
  • Combination

27 of 62

MITE-Moodabidri

27

3.5 Virtual LANs

3.5.2 Configuration

  • Manual Configuration
  • Automatic Configuration
  • Semiautomatic Configuration

28 of 62

MITE-Moodabidri

28

3.5 Virtual LANs

3.5.3Communication between Switches

  • Table Maintenance
  • Frame Tagging
  • Time-Division Multiplexing (TDM)
  • IEEE Standard

29 of 62

MITE-Moodabidri

29

3.5 Virtual LANs

3.5.4 Advantages

  • Cost and Time Reduction
  • Creating Virtual Work Groups
  • Security

30 of 62

MITE-Moodabidri

30

3.5 Virtual LANs

3.5.4 Advantages

  • Cost and Time Reduction
  • Creating Virtual Work Groups
  • Security

31 of 62

MITE-Moodabidri

31

3.6 NETWORK-LAYER SERVICES

32 of 62

MITE-Moodabidri

32

3.6 NETWORK-LAYER SERVICES

3.6.1 Packetizing

The first duty of the network layer is definitely packetizing: encapsulating the payload (data received from upper layer) in a network-layer packet at the source and decapsulating the payload from the network-layer packet at the destination. In other words, one duty of the network layer is to carry a payload from the source to the destination without changing it or using it.

33 of 62

MITE-Moodabidri

33

3.6 NETWORK-LAYER SERVICES

3.6.2 Routing and Forwarding

  • The network layer is responsible for routing the packet from its source to the destination.
  • If routing is applying strategies and running some routing protocols to create the decision-making tables for each router, forwarding can be defined as the action applied by each router when a packet arrives at one of its interfaces.

34 of 62

MITE-Moodabidri

34

3.6 NETWORK-LAYER SERVICES

3.6.3 Other Services

  • Error Control
  • Flow Control
  • Congestion Control
  • Quality of Service
  • Security

35 of 62

MITE-Moodabidri

35

3.7 PACKET SWITCHING

3.7.1 Datagram Approach: Connectionless Service

A connectionless packet-switched network

36 of 62

MITE-Moodabidri

36

3.7 PACKET SWITCHING

3.7.1 Datagram Approach: Connectionless Service

Forwarding process in a router when used in a connectionless network

37 of 62

MITE-Moodabidri

37

3.7 PACKET SWITCHING

3.7.2 Virtual-Circuit Approach: Connection-Oriented Service

A virtual-circuit packet-switched network

38 of 62

MITE-Moodabidri

38

3.7 PACKET SWITCHING

3.7.2 Virtual-Circuit Approach: Connection-Oriented Service

Forwarding process in a router when used in a virtual-circuit network

39 of 62

MITE-Moodabidri

39

3.7 PACKET SWITCHING

3.7.2 Virtual-Circuit Approach: Connection-Oriented Service

Sending request packet in a virtual-circuit network

40 of 62

MITE-Moodabidri

40

3.7 PACKET SWITCHING

3.7.2 Virtual-Circuit Approach: Connection-Oriented Service

Sending acknowledgments in a virtual-circuit network

41 of 62

MITE-Moodabidri

41

3.7 PACKET SWITCHING

3.7.2 Virtual-Circuit Approach: Connection-Oriented Service

Flow of one packet in an established virtual circuit

42 of 62

MITE-Moodabidri

42

3.8 IPV4 ADDRESSES

3.8.1Address Space

A protocol like IPv4 that defines addresses has an address space. An address space is the total number of addresses used by the protocol. If a protocol uses b bits to define an address, the address space is 2b because each bit can have two different values (0 or 1). IPv4 uses 32-bit addresses, which means that the address space is 2^32 or 4,294,967,296

43 of 62

MITE-Moodabidri

43

3.8 IPV4 ADDRESSES

3.8.1Address Space

Notation

Hierarchy in Addressing

44 of 62

MITE-Moodabidri

44

3.8 IPV4 ADDRESSES

3.8.2Classful Addressing

45 of 62

MITE-Moodabidri

45

3.8 IPV4 ADDRESSES

3.8.2Classful Addressing

  • Address Depletion
  • Subnetting and Supernetting
  • Advantage of Classful Addressing

46 of 62

MITE-Moodabidri

46

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Variable-length blocks in classless addressing

Prefix Length: Slash Notation

47 of 62

MITE-Moodabidri

47

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Information extraction in classless addressing

A classless address is given as 167.199.170.82/27

48 of 62

MITE-Moodabidri

48

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Address Mask

Another way to find the first and last addresses in the block is to use the address mask. The address mask is a 32-bit number in which the n leftmost bits are set to 1s and the rest of the bits (32 − n) are set to 0s. A computer can easily find the address mask because it is the complement of (232 − n − 1). The reason for defining a mask in this way is that it can be used by a computer program to extract the information in a block, using the three bit-wise operations NOT, AND, and OR.

49 of 62

MITE-Moodabidri

49

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Address Mask

50 of 62

MITE-Moodabidri

50

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Network address

51 of 62

MITE-Moodabidri

51

3.8 IPV4 ADDRESSES

3.8.3 Class less Addressing

Block Allocation

Subnetting

Address Aggregation

Special Addresses

52 of 62

MITE-Moodabidri

52

3.8 IPV4 ADDRESSES

3.8.4 Dynamic Host Configuration Protocol (DHCP)

DHCP is an application-layer program, using the client-server paradigm, that actually helps TCP/IP at the network layer.

DHCP message format

53 of 62

MITE-Moodabidri

53

3.8 IPV4 ADDRESSES

3.8.4 Dynamic Host Configuration Protocol (DHCP)

54 of 62

MITE-Moodabidri

54

3.8 IPV4 ADDRESSES

3.8.5 Network Address Resolution (NAT)

55 of 62

MITE-Moodabidri

55

3.8 IPV4 ADDRESSES

3.8.5 Network Address Resolution (NAT)

Address translation

56 of 62

MITE-Moodabidri

56

3.8 IPV4 ADDRESSES

3.8.5 Network Address Resolution (NAT)

Translation

57 of 62

MITE-Moodabidri

57

3.9 FORWARDING OF IP PACKETS

3.9.1 Forwarding Based on Destination Address

58 of 62

MITE-Moodabidri

58

3.9 FORWARDING OF IP PACKETS

3.9.1 Forwarding Based on Destination Address

Address Aggregation

59 of 62

MITE-Moodabidri

59

3.9 FORWARDING OF IP PACKETS

3.9.1 Forwarding Based on Destination Address

Longest Mask Matching

60 of 62

MITE-Moodabidri

60

3.9 FORWARDING OF IP PACKETS

3.9.1 Forwarding Based on Destination Address

Hierarchical Routing

61 of 62

MITE-Moodabidri

61

3.9 FORWARDING OF IP PACKETS

3.9.1 Forwarding Based on Destination Address

Geographical Routing

To decrease the size of the forwarding table even further, we need to extend ierarchical

routing to include geographical routing. We must divide the entire address space into a

few large blocks. We assign a block to America, a block to Europe, a block to Asia, a block to Africa, and so on.

62 of 62

MITE-Moodabidri

62

3.9 FORWARDING OF IP PACKETS

3.9.2 Forwarding Based on Label

Multi-Protocol Label Switching (MPLS)

A New Header

Hierarchical Switching