COMPUTER COMMUNICATION NETWORKS
MITE-Moodabidri
1
Module-3
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
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.
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
MITE-Moodabidri
5
3.1.1Architectural Comparison
iii. Isolated LANs
iv. Connection to Other Networks
MITE-Moodabidri
6
3.1.2 Characteristics
MITE-Moodabidri
7
3.2 IEEE 802.11
3.2.1 Architecture
Basic Service Set
Extended Service Set
MITE-Moodabidri
8
3.2 IEEE 802.11
3.2.2MAC Sublayer
MITE-Moodabidri
9
3.2 IEEE 802.11
3.2.2MAC Sublayer
CSMA/CA and NAV
MITE-Moodabidri
10
3.2 IEEE 802.11
3.2.2MAC Sublayer
Frame format
MITE-Moodabidri
11
3.2 IEEE 802.11
3.2.3Addressing Mechanism
MITE-Moodabidri
12
3.2 IEEE 802.11
3.2.3Addressing Mechanism
MITE-Moodabidri
13
3.2 IEEE 802.11
3.2.4Physical Layer
MITE-Moodabidri
14
3.3 BLUETOOTH
3.3.1 Architecture
MITE-Moodabidri
15
3.3 BLUETOOTH
3.3.2 Bluetooth Layers
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
MITE-Moodabidri
17
3.3 BLUETOOTH
3.3.2 Bluetooth Layers
MITE-Moodabidri
18
3.3 BLUETOOTH
3.3.2 Bluetooth Layers
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
MITE-Moodabidri
20
3.4 Connecting Devices
MITE-Moodabidri
21
3.4 Connecting Devices
Hubs
MITE-Moodabidri
22
3.4 Connecting Devices
Switches
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.
MITE-Moodabidri
24
3.5 Virtual LANs
A switch using VLAN software
MITE-Moodabidri
25
3.5 Virtual LANs
Two switches in a backbone using VLAN software
MITE-Moodabidri
26
3.5 Virtual LANs
3.5.1 Membership
MITE-Moodabidri
27
3.5 Virtual LANs
3.5.2 Configuration
MITE-Moodabidri
28
3.5 Virtual LANs
3.5.3Communication between Switches
MITE-Moodabidri
29
3.5 Virtual LANs
3.5.4 Advantages
MITE-Moodabidri
30
3.5 Virtual LANs
3.5.4 Advantages
MITE-Moodabidri
31
3.6 NETWORK-LAYER SERVICES
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.
MITE-Moodabidri
33
3.6 NETWORK-LAYER SERVICES
3.6.2 Routing and Forwarding
MITE-Moodabidri
34
3.6 NETWORK-LAYER SERVICES
3.6.3 Other Services
MITE-Moodabidri
35
3.7 PACKET SWITCHING
3.7.1 Datagram Approach: Connectionless Service
A connectionless packet-switched network
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
MITE-Moodabidri
37
3.7 PACKET SWITCHING
3.7.2 Virtual-Circuit Approach: Connection-Oriented Service
A virtual-circuit packet-switched network
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
MITE-Moodabidri
39
3.7 PACKET SWITCHING
3.7.2 Virtual-Circuit Approach: Connection-Oriented Service
Sending request packet in a virtual-circuit network
MITE-Moodabidri
40
3.7 PACKET SWITCHING
3.7.2 Virtual-Circuit Approach: Connection-Oriented Service
Sending acknowledgments in a virtual-circuit network
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
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
MITE-Moodabidri
43
3.8 IPV4 ADDRESSES
3.8.1Address Space
Notation
Hierarchy in Addressing
MITE-Moodabidri
44
3.8 IPV4 ADDRESSES
3.8.2Classful Addressing
MITE-Moodabidri
45
3.8 IPV4 ADDRESSES
3.8.2Classful Addressing
MITE-Moodabidri
46
3.8 IPV4 ADDRESSES
3.8.3 Class less Addressing
Variable-length blocks in classless addressing
Prefix Length: Slash Notation
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
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.
MITE-Moodabidri
49
3.8 IPV4 ADDRESSES
3.8.3 Class less Addressing
Address Mask
MITE-Moodabidri
50
3.8 IPV4 ADDRESSES
3.8.3 Class less Addressing
Network address
MITE-Moodabidri
51
3.8 IPV4 ADDRESSES
3.8.3 Class less Addressing
Block Allocation
Subnetting
Address Aggregation
Special Addresses
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
MITE-Moodabidri
53
3.8 IPV4 ADDRESSES
3.8.4 Dynamic Host Configuration Protocol (DHCP)
MITE-Moodabidri
54
3.8 IPV4 ADDRESSES
3.8.5 Network Address Resolution (NAT)
MITE-Moodabidri
55
3.8 IPV4 ADDRESSES
3.8.5 Network Address Resolution (NAT)
Address translation
MITE-Moodabidri
56
3.8 IPV4 ADDRESSES
3.8.5 Network Address Resolution (NAT)
Translation
MITE-Moodabidri
57
3.9 FORWARDING OF IP PACKETS
3.9.1 Forwarding Based on Destination Address
MITE-Moodabidri
58
3.9 FORWARDING OF IP PACKETS
3.9.1 Forwarding Based on Destination Address
Address Aggregation
MITE-Moodabidri
59
3.9 FORWARDING OF IP PACKETS
3.9.1 Forwarding Based on Destination Address
Longest Mask Matching
MITE-Moodabidri
60
3.9 FORWARDING OF IP PACKETS
3.9.1 Forwarding Based on Destination Address
Hierarchical Routing
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.
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