- Asked 3/29
- 2081 Baisakh · 4+4 marks
- 2075 Asoj · 4 marks
- 2074 Asoj · 8 marks
Adaptive and non-adaptive routing algorithms
Short answer
Non-adaptive routing uses fixed routes (e.g., shortest path, flooding) and cannot react to changes. Adaptive routing dynamically updates routes based on network state, using algorithms like distance vector (RIP) or link state (OSPF), which automatically handle failures and congestion but require routing overhead.
Explain adaptive and non-adaptive routing algorithms used in data communication.
Routing is the process by which a node (router or packet switch) decides the outgoing link for a packet so it reaches its destination. Routing algorithms are of two kinds: non-adaptive (static) and adaptive (dynamic).
Non-adaptive (static) routing
Routes are computed in advance (off-line) and loaded into the routers; they do not change with current traffic or topology, unless an administrator changes them.
Examples
- Shortest path routing: the network is a graph with link costs (distance, delay); Dijkstra's algorithm finds the least-cost path from each source, and the tables are fixed.
- Flooding: every incoming packet is sent on every outgoing line except the one it came on; hop counters or sequence numbers stop endless copies. Very robust, used in military networks and for broadcasting link-state updates.
- Flow-based routing: uses known average traffic between node pairs and link capacities to choose routes that minimise mean delay.
- Fixed/static routes configured by hand (e.g. default route).
Features: simple, low processing and no routing traffic, predictable; but cannot react to failures or congestion.
Adaptive (dynamic) routing
Routes are changed automatically in response to changes in topology and traffic load. Routers exchange information and recompute paths periodically or when a change occurs.
Types by where decisions are made
- Centralised: a routing control centre collects information and sends tables to all nodes.
- Isolated: each node decides from local information only, e.g. hot-potato routing (send on the shortest queue) or backward learning.
- Distributed: nodes exchange information with neighbours.
Main distributed algorithms
- Distance vector routing (Bellman–Ford): each router keeps a table of the best known distance to every destination and the next hop, and periodically sends it to neighbours. Used in RIP. Simple but suffers from the count-to-infinity problem and slow convergence.
- Link state routing: each router learns its neighbours and link costs, floods link state packets to all routers, builds the full topology and runs Dijkstra. Used in OSPF and IS-IS. Converges fast, larger memory and CPU.
A --2-- B --1-- D
| | |
5 2 1
| | |
C --3-- E ------+
If link B-D fails, adaptive routing
finds A-B-E-D; static routing keeps
using B-D and the packets are lost.
Comparison
| Point | Non-adaptive | Adaptive |
|---|---|---|
| Route decision | fixed in advance | changes with network state |
| Reaction to failure | none (manual) | automatic |
| Overhead | very low | routing messages, CPU |
| Complexity | simple | complex |
| Examples | static route, flooding, shortest path | distance vector (RIP), link state (OSPF) |
| Suited for | small, stable networks | large, changing networks |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Static and dynamic routing algorithms · Telecommunications, chapter 8
- Short note: Routing algorithm in data communication · Telecommunications, chapter 8 · asked 2×
- Link-state routing as adaptive routing · Telecommunications, chapter 8
- Switching techniques in data communication · Telecommunications, chapter 8 · asked 3×
- Flow control mechanisms in data communication · Telecommunications, chapter 8
- Flow control in data communication network · Telecommunications, chapter 8
- Adaptive equalization algorithms (any two) · Wireless Communication, chapter 5
- Data types and classification of algorithms · Data Structure and Algorithm, chapter 1
- I/O functions used with data files · Computer Programming, chapter 10 · asked 2×
- Non-verbal communication and its elements · Communication English, chapter 4