How unit 3 is examined
This unit covers WLAN problems and 802.11, Mobile IP and ad hoc routing; the marks sit in Mobile IP terms, MAC problems, ad hoc networks, 802.11 architecture and AODV.
Transmission Medium For WLANs
Not asked since 2022
Definition. A WLAN carries data between stations over infrared light or radio waves instead of cables.
Key points.
- Infrared needs line of sight, cannot pass walls and works only inside one room, but it is free of radio interference and licence.
- Radio in the licence-free 2.4 GHz and 5 GHz ISM bands passes through walls and gives longer range.
- Radio suffers interference from other devices, multipath fading and easy eavesdropping.
- Wireless links have higher error rates and lower bandwidth than wired links.
MAC problems
Medium weight
Definition. Wireless MAC problems are the difficulties in sharing one radio channel that wired CSMA/CD never faced, because a wireless node cannot hear every other node or its own collisions.
Key points.
- Hidden and exposed terminals make carrier sensing unreliable, so collisions occur or transmissions are wrongly blocked.
- Bandwidth is scarce and shared, so the protocol must have low overhead and waste little on control packets.
- Battery power is limited, so the protocol must let idle nodes sleep and avoid needless retransmissions.
- Mobility keeps changing who is in range, so neighbour information goes stale quickly.
- Without a base station, synchronisation and channel allocation must be distributed, with no central scheduler.
- Radio errors and a node's own strong signal drowning others (near-far) make collisions undetectable while sending.
Comparison: wired vs wireless media access.
| Basis | Wired (Ethernet) | Wireless (802.11) |
|---|---|---|
| Method | CSMA/CD | CSMA/CA with optional RTS/CTS |
| Collision | Detected while sending | Cannot be detected, so avoided |
| Sensing | Every node hears the cable | Range-limited: hidden and exposed nodes |
| Reliability | Rare errors, no ACK | High errors, link-layer ACK needed |
| Topology | Fixed | Changing with mobility |
| Related protocols | None | MACA, MACAW |
Answer frame. Open by defining an ad hoc network as infrastructure-less and mobile; list issues 1-6 with one sentence each; for the wired comparison use the table; close that MAC design must be distributed, collision-avoiding and power-saving.
Asked: [7 marks] (Dec 2020, Dec 2024) List and explain the issues in designing a MAC protocol for adhoc networks. How media access is different in wireless networks as compared to wired networks?
Hidden and Exposed terminals
Low weight
Definition. A hidden terminal is a node out of a sender's range that can still collide with it at a common receiver; an exposed terminal is a node that needlessly defers because it hears a neighbouring sender.
Key points.
- Hidden case: A and C both sense an idle channel, both send to B, and their frames collide at B.
- Exposed case: B is sending to A, C hears B and defers, although a transmission from C to D would not disturb A, so bandwidth is wasted.
- RTS/CTS reduces hidden collisions: the receiver's CTS is heard by the hidden node, which then stays silent.
- Near and far terminals: see the next topic.
Asked: [7 marks] (Dec 2020) Discuss hidden and exposed terminal problem and near and far terminal problem.
Near and Far terminals
Not asked since 2022
Definition. The near-far problem is when a nearby terminal's strong signal drowns a distant terminal's weak signal at the receiver.
Key points.
- The receiver cannot decode the far node because signal strength falls with distance.
- It is severe in CDMA and spread-spectrum systems where all share one frequency.
- The fix is power control: the base station makes near nodes reduce transmit power so all signals arrive at similar strength.
- The related term is capture effect in 802.11.
Infrastructure and Ad hoc Networks
Medium weight
Definition. An infrastructure network communicates through a fixed access point; an ad hoc network is an infrastructure-less, self-organising set of mobile nodes that talk directly and relay for each other.
Key points.
- Ad hoc nodes act as both host and router, forwarding packets over multiple hops.
- Topology is dynamic because nodes move, join and leave.
- Setup is quick and cheap with no central administration, but bandwidth and battery are limited.
- Applications: battlefield, disaster relief, conferences, sensor and vehicular networks.
- Infrastructure MACs (such as PCF) rely on the AP to poll, allocate and synchronise, so they fail when no AP exists.
- Without central control, hidden and exposed terminals and changing neighbours cannot be handled by a coordinator, and contention and timing have to be distributed.
| Basis | Infrastructure network | Ad hoc network |
|---|---|---|
| Central unit | Access point / base station | None |
| Routing | By AP, single wireless hop | Multi-hop by nodes |
| Topology | Fixed backbone | Dynamic |
| Setup | Planned | Spontaneous |
| Control | Centralised | Distributed |
Answer frame. Open with the definition; draw the two topologies side by side; give the table, then applications; for the MAC justification, argue points 5 and 6 and close that ad hoc MACs must be distributed.
Asked: [7 marks] (Dec 2024) What are Adhoc networks? How are they different from traditional networks? Asked: [7 marks] (Jun 2025) Why "MAC protocol designed for infrastructure based wireless network may not work satisfactory in infrastructure less environment" - Justify?
IEEE 802.11- System arch
Low weight
Definition. The 802.11 architecture is built from stations (STA), access points (AP), basic service sets (BSS), an extended service set (ESS) and a distribution system (DS).
Key points.
- A BSS is a group of stations under one AP; without an AP it is an independent (ad hoc) BSS.
- The DS (usually Ethernet) interconnects APs, and several BSSs joined by the DS form an ESS.
- Services: association, reassociation, authentication, distribution and integration to wired LANs.
- Infrastructure mode uses an AP; ad hoc mode lets stations talk directly.
Asked: [7 marks] (Jun 2025) Describe the architecture of IEEE 802.11 wireless LAN.
Protocol arch
Not asked since 2022
Definition. 802.11 defines the bottom two OSI layers: a physical layer and a MAC sublayer under the 802.2 LLC.
Key points.
- The PHY has PLCP and PMD sublayers and does sensing and transmission.
- The MAC does access control, fragmentation and encryption.
- The station and DS management planes handle roaming and power saving.
Physical layer
Not asked since 2022
Definition. The PHY transmits bits by infrared or by radio using FHSS, DSSS or OFDM.
Key points.
- FHSS hops among 79 channels of 1 MHz in the 2.4 GHz band, giving 1-2 Mbps.
- DSSS spreads each bit with an 11-chip Barker code; 802.11b reaches 11 Mbps.
- OFDM is used by 802.11a (5 GHz, up to 54 Mbps) and 802.11g (2.4 GHz).
Concept of spread spectrum
Not asked since 2022
Definition. Spread spectrum spreads a signal over a much wider bandwidth than needed, using a code known to the receiver.
Key points.
- It resists narrow-band interference and jamming.
- It gives low probability of interception and multipath tolerance.
- DSSS multiplies data by a fast chip code; FHSS jumps between carrier frequencies in a pseudo-random pattern.
- Different codes let several users share a band (CDMA).
MAC and its management
Not asked since 2022
Definition. The 802.11 MAC controls channel access with DCF (contention) and optional PCF (polled), and manages association and roaming.
Key points.
- DCF uses CSMA/CA: sense the medium for DIFS, back off a random time, send, and wait for an ACK.
- Interframe spaces order priority: SIFS is shortest, then PIFS, then DIFS.
- RTS/CTS with the NAV timer reserves the channel against hidden nodes.
- PCF lets the AP poll stations during contention-free periods.
- Management covers scanning, association, reassociation and synchronisation using beacons.
Power management
Not asked since 2022
Definition. Power management lets stations sleep to save battery while the AP buffers their frames.
Key points.
- A station announces sleep by setting the power-management bit in its frame.
- The AP buffers frames for sleeping stations.
- Stations wake at each beacon and read the TIM to see whether frames wait for them.
- In ad hoc mode, ATIM windows serve the same purpose.
Security
Not asked since 2022
Definition. WLAN security provides authentication and confidentiality over an open radio channel.
Key points.
- WEP uses the RC4 stream cipher with a shared key and a 24-bit IV; it is weak and easily broken.
- WPA fixed WEP with TKIP and per-packet keys.
- WPA2 (802.11i) uses AES-CCMP and 802.1X authentication.
- Other measures are SSID hiding and MAC filtering, which are weak.
Mobile IP: unsuitability of Traditional IP
Low weight
Definition. Mobile IP lets a host keep its IP address and stay reachable while moving between networks.
Key points.
- Traditional IP routes by the network prefix in the address, so a moved host with the same address gets no packets, and changing the address breaks TCP connections.
- Mobile IP solves this with a home agent, foreign agent, care-of address and tunneling.
- Problems: triangular routing (packets go via the home agent, replies go directly), handover latency, and security threats such as spoofed registration.
- Tunneling adds header overhead and reduces performance.
Asked: [7 marks] (Jun 2025) What is Mobile IP used for? What are the major problems of Mobile IP?
Goals, Terminology
High weight
Definition. Mobile IP (RFC 3344) lets a mobile node move between networks while keeping one permanent IP address, transparently to TCP and applications.
Key points.
- Goals: transparency to applications, compatibility with existing IP and hosts, and no need to change routers or correspondent nodes.
- Home network: the network whose prefix matches the mobile node's permanent address.
- Home address: the permanent IP address assigned to the node in its home network.
- Foreign network: any network the mobile node visits away from home.
- Foreign agent: a router on the foreign network that serves the visiting node, offers the care-of address and delivers tunnelled packets.
- Care-of address (COA): the temporary address marking the node's current location, either the foreign agent's address or a co-located address got by DHCP.
- Home agent: a router on the home network that registers the node's COA, intercepts its packets and tunnels them to the COA.
- Example: a laptop with home address 10.1.1.5 visits a foreign network, registers COA 20.2.2.1 with its home agent, and gets packets from correspondents by tunnel.
Mobile IP keeps the home address fixed and uses a care-of address and tunneling from the home agent to deliver packets to the moving node.
Answer frame. Open with the purpose of Mobile IP; define the six terms one line each in the order asked; draw the diagram, then show the registration and tunneling relationship with the example; close that the home address gives identity and the COA gives location.
Asked: [14 marks] (Dec 2020) Explain the following terms associated with mobile IP: Home Network, Home address, Foreign Network, Foreign Agent, Care of Address, Home Agent.
Agent advertisement and discovery
Not asked since 2022
Definition. Agents announce their presence by periodic ICMP router advertisement messages with a mobility extension.
Key points.
- The message carries the COA, lifetime and flags marking a home or foreign agent.
- A node detects it has moved when it hears a foreign agent or stops hearing its home agent.
- A node may send an agent solicitation instead of waiting.
Registration
Not asked since 2022
Definition. Registration tells the home agent the mobile node's current COA.
Key points.
- The node sends a registration request, directly or via the foreign agent, over UDP port 434.
- The home agent creates a binding of home address to COA and replies with a registration reply.
- Requests carry a lifetime and are authenticated with a shared secret to stop spoofing.
- On returning home, the node deregisters.
Tunneling techniques
Not asked since 2022
Definition. Tunneling encapsulates the original packet inside a new IP packet addressed to the COA.
Key points.
- IP-in-IP adds a full outer header with source home agent and destination COA.
- Minimal encapsulation shrinks the added header.
- GRE is a more general encapsulation.
- At the tunnel end, the outer header is removed and the inner packet is delivered.
Ad hoc network routing: Ad hoc Network routing v/s Traditional IP routing
Not asked since 2022
Definition. Ad hoc routing finds multi-hop paths between mobile nodes with no fixed routers.
Key points.
- Traditional routing assumes fixed routers, stable links and static topology; ad hoc topology changes constantly.
- Ad hoc nodes must be routers and periodic table exchange wastes bandwidth and battery.
- Ad hoc protocols therefore add on-demand discovery, sequence numbers and loop freedom.
- Traditional protocols like RIP and OSPF do not scale to such mobility.
types of routing protocols
Low weight
Definition. Ad hoc routing protocols are classified by when routes are found into proactive, reactive and hybrid.
Key points.
- Proactive (table-driven) protocols such as DSDV and OLSR keep routes to all nodes at all times, with low latency but high overhead.
- Reactive (on-demand) protocols such as AODV and DSR find a route only when needed, with low overhead but discovery delay.
- Hybrid protocols such as ZRP are proactive within a zone and reactive outside it.
| Class | Approach | Overhead | Latency | Examples |
|---|---|---|---|---|
| Proactive | Periodic table updates | High | Low | DSDV, OLSR |
| Reactive | Discovery on demand | Low | High first packet | AODV, DSR |
| Hybrid | Zone-based mix | Medium | Medium | ZRP |
Asked: [7 marks] (Dec 2024) Give a classification of Adhoc routing protocols.
Examples: OADV
Low weight
Definition. AODV (written OADV in the paper) is Ad hoc On-demand Distance Vector routing, a reactive protocol that discovers a route only when a source needs it.
Key points.
- Route discovery: the source broadcasts a route request (RREQ) carrying source and destination sequence numbers, and each node keeps a reverse route to the source.
- The destination, or a node with a fresh route, returns a unicast route reply (RREP) along the reverse path, setting up the forward route.
- Sequence numbers keep routes fresh and prevent loops.
- Maintenance: when a link breaks, the detecting node sends a route error (RERR) to sources, which rediscover the route.
- Example: S wants D via A and B; S floods RREQ, D replies RREP over B, A, S; if B-D breaks, B sends RERR and S floods again.
Asked: [7 marks] (Jun 2025) Explain the mechanism of OADV protocol with an example.
DSDV
Not asked since 2022
Definition. DSDV is a proactive distance-vector protocol where every node keeps a table with a next hop and hop count to every destination.
Key points.
- Each entry carries a destination-generated sequence number, even when the route is valid and odd when broken.
- A higher sequence number wins; on equal numbers the shorter metric wins.
- Tables are exchanged by periodic full dumps and triggered incremental updates.
DSR
Not asked since 2022
Definition. DSR is a reactive protocol using source routing, where the packet header lists the whole path.
Key points.
- Route discovery floods an RREQ that collects node addresses, and the RREP returns the full path.
- Nodes cache routes and intermediate nodes need no routing tables.
- Route errors remove broken routes from caches.
ZRP etc.
Not asked since 2022
Definition. ZRP, the Zone Routing Protocol, is hybrid: proactive inside a zone of radius r hops and reactive between zones.
Key points.
- IARP keeps routes to nodes inside the zone.
- IERP discovers outside routes by bordercasting queries to border nodes.
- This reduces both table overhead and flooding.
Last-minute revision
- Hidden terminal: out of sender's range but collides at the receiver; exposed: needlessly defers.
- RTS/CTS reduces hidden-node collisions; near-far is fixed by power control.
- Wireless uses CSMA/CA because collisions cannot be detected.
- 802.11 has BSS, ESS, DS, AP and STA; ad hoc mode is an IBSS.
- SIFS < PIFS < DIFS.
- WEP uses RC4; WPA2 uses AES-CCMP.
- Mobile IP terms: home address is identity, care-of address is location.
- Registration uses UDP port 434; tunneling is IP-in-IP.
- Mobile IP problems: triangular routing, handover latency, security.
- Proactive: DSDV, OLSR; reactive: AODV, DSR; hybrid: ZRP.
- AODV uses RREQ, RREP and RERR with sequence numbers.
Memory hooks
- HEN: Home agent, Encapsulate, Notify (registration) for Mobile IP.
- Hidden hears nothing, exposed hears too much.
- Proactive = Prepared tables; Reactive = Request when needed.
- RRR for AODV: Request, Reply, Error.
Coverage checklist
- Transmission Medium For WLANs: no past questions.
- MAC problems: MAC issues in ad hoc networks; wired vs wireless media access (Dec 2020, Dec 2024).
- Hidden and Exposed terminals: hidden, exposed and near-far discussion (Dec 2020).
- Near and Far terminals: covered in the hidden and exposed question.
- Infrastructure and Ad hoc Networks: what are ad hoc networks (Dec 2024); MAC for infrastructure-less (Jun 2025).
- IEEE 802.11- System arch: 802.11 architecture (Jun 2025).
- Protocol arch: no past questions.
- Physical layer: no past questions.
- Concept of spread spectrum: no past questions.
- MAC and its management: no past questions.
- Power management: no past questions.
- Security: no past questions.
- Mobile IP: unsuitability of Traditional IP: uses and problems of Mobile IP (Jun 2025).
- Goals, Terminology: Mobile IP terms (Dec 2020).
- Agent advertisement and discovery: no past questions.
- Registration: no past questions.
- Tunneling techniques: no past questions.
- Ad hoc network routing: Ad hoc Network routing v/s Traditional IP routing: no past questions.
- types of routing protocols: classification of ad hoc routing (Dec 2024).
- Examples: OADV: AODV mechanism (Jun 2025).
- DSDV: no past questions.
- DSR: no past questions.
- ZRP etc.: no past questions.