AWSN1
AWSN1
1. Mobility of Nodes
2. Bandwidth Constraints
Hidden Terminal Problem: This problem arises when two nodes (A and C in
the figure) cannot detect each other's transmissions but are both within range
of a third node (B). This leads to packet collisions at node B, as neither node A
nor node C is aware of the other’s activity.
Exposed Terminal Problem: Conversely, this problem occurs when a node
(C) cannot transmit because it assumes that its neighbour (B) is already
transmitting, even though its transmission would not interfere with B’s ongoing
communication. This reduces the efficient utilization of the available radio
spectrum.
Solutions: Protocols like MACA, MACAW, FAMA, and DBTMA aim to reduce the
occurrence of these issues by implementing mechanisms such as Request-to-
Send (RTS) and Clear-to-Send (CTS) handshakes to control access to the shared
medium and reduce the chance of collision.
5. Resource Constraints
Battery Life and Processing Power: Ad hoc network nodes are typically
portable devices with limited battery life and processing power. Increasing
these resources would make the devices heavier and less portable, which
contradicts the fundamental nature of ad hoc networks.
Efficient Resource Use: The routing protocol must effectively utilize available
resources such as bandwidth, battery life, and processing power to avoid
overburdening any one resource.
Local Topology Updates: Nodes should only update their routing information
based on local topology changes to reduce unnecessary overhead and
minimize the impact of distant topology changes.
DSDV is an early routing protocol developed for ad hoc wireless networks. It's an
enhanced version of the distributed Bellman-Ford algorithm, where each node
maintains a routing table that contains:
1. Table Updates: Each node periodically exchanges routing tables with its
neighbours to maintain an up-to-date view of the network topology. If the
topology changes significantly, a full dump of the table is sent. Otherwise,
incremental updates are sent to keep the update process efficient.
Suppose Node 1 wants to send data to Node 15. Node 1 already has a route
to Node 15 stored in its table (as the topology is available globally at all times).
The table indicates that the shortest path to Node 15 is through Node 5, and
the distance to Node 15 is 4 hops.
If a link fails (say between Node 10 and Node 11), Node 10 will set the path to
Node 11 as ∞ and propagate this information throughout the network. This
process ensures that all nodes, including Node 1, are aware of the broken link
and can update their routing tables accordingly.
Advantages of DSDV:
1. Low Latency for Route Setup: Since routes to all destinations are always
available at every node, there is little delay when setting up a route.
2. Wired Network Adaptation: The protocol is an enhancement of the Bellman-
Ford algorithm, making it easier to adapt wired network protocols for use in
wireless ad hoc networks.
3. Maintaining Up-to-date Network Topology: Periodic table updates ensure
that all nodes in the network have an accurate and current view of the network
topology.
Disadvantages of DSDV:
1. Table Maintenance: Unlike DSDV, which uses a single table for routing, WRP
employs multiple tables for more accurate routing information:
o Distance Table (DT): This table holds the distance and penultimate
node (the second-to-last node) reported by a neighbour for a particular
destination. It helps determine the shortest path and facilitates faster
convergence.
o Routing Table (RT): This table maintains the best routes, with entries
for the shortest distance, predecessor node (penultimate node),
successor node (next node on the path), and path status (correct, error,
or null).
o Link Cost Table (LCT): This table tracks the cost (such as the number
of hops) of relaying messages through each link. A broken link is marked
with a cost of infinity (∞). It also tracks the time since the last successful
update, which helps in detecting link failures.
o Message Retransmission List (MRL): This table keeps track of
messages that need to be retransmitted and their respective
retransmission counters. When the counter reaches zero, the message is
deleted if no acknowledgments are received, helping detect missing
updates or link failures.
2. Faster Convergence: WRP speeds up convergence by checking not only the
distance of transmitted neighbours but also the distances of other neighbours.
This helps the network quickly identify alternative routes when a link break
occurs.
1. Route Maintenance: Like DSDV, WRP ensures that each node has routes to
all destinations, keeping them readily available. For instance, if Node 1 wants
to send data to Node 15, the routing table shows that the next hop is Node 2
and the predecessor node is Node 12.
2. Link Failure and Route Update: When a link breaks (e.g., between Nodes 12
and 15):
o The nodes detect the failure and set the link cost to ∞.
o They broadcast update messages to inform their neighbours of the
broken link.
o Affected nodes update their routing tables and find alternative paths if
possible, ensuring the data continues to flow through the network
without disruption.
Advantages of WRP:
1. Faster Convergence: WRP converges faster than DSDV due to its proactive
maintenance of multiple routing tables and the use of penultimate node
information, which helps identify alternative routes more quickly when a link
breaks.
2. Fewer Updates: The use of multiple tables allows for more accurate and
efficient routing, leading to fewer updates and minimizing the control
overhead compared to DSDV.
3. Accurate Routing Information: WRP provides more precise routing
information because it maintains multiple tables, including the distance table
(DT) and link cost table (LCT), to track changes and link failures in more
detail.
Disadvantages of WRP:
1. Complexity: WRP requires maintaining multiple tables (DT, RT, LCT, and
MRL), which increases the memory and processing power requirements of the
nodes. This could be challenging for devices with limited resources.
2. High Mobility Overhead: Although WRP has faster convergence, it still
suffers from high control overhead in highly dynamic environments (such as
when nodes are frequently moving), similar to DSDV. This can be problematic
in large, highly mobile networks.
3. Not Suitable for Large Networks: WRP's reliance on multiple table
updates and its complexity make it less suitable for large-scale networks with
a lot of mobility or nodes.