GSR Routing Protocol Presentation
GSR Routing Protocol Presentation
Presenters
Aayush Kumar, Siddharth Dangwal, Swati
Joshi
M.Tech First Semester
Mobile Computing
MCS-102
Introduction
• It is a proactive /table driven routing protocol. It actually extends the link
state routing of the wired networks. It is based on Dijkstra's routing
algorithm.
• In LSR, one of the nodes floods out a single routing table information to
its neighbors and those neighbors flood out that table to further nodes.
This process table is received by all the nodes throughout the network.
• 1. Distance table: This table contains the distance of a node from all the
nodes in the network.
• 2. Topology Table: This table contains the information of link state data
along with sequence number which can be used to determine when the
information is updated last.
• 3. Next hope table: Next hop table will contain the information about
the immediate neighbor of a particular node.
These tables are updated on every step and ensure that each node
receives correct information about all nodes including their distances.
Working and example
• GSR broadcasts the routing tables to its immediate neighbor
rather than flooding it to all the nodes as link state protocol
does.
• Consider a network of 4 having a distance of "1" on each of its
edges.
Working
• Steps 1. For node 'X': Firstly three tables will maintain the
distance table, topology table and next hop tables. This same
process will be done for the rest of the nodes too.
Working
• Steps 2. Broadcasting of all the tables will be done to all the immediate
neighbors of "X" i.e. "Y" and "Z".
• Steps 3. These tables are updated at "X", "Y" and "Z" nodes respectively.
• Steps 4. Same will be done for node "Y". After first updation from "X",
node "Y" will broadcast the tables to its immediate neighbors i.e. "X"
and "T" and those tables will be done for "T" and "Z" also.
• Step 5. Once done, all the nodes "X", "Y", "Z", and "T" will be having the
updated routing tables containing distances from each, with the help of
which an optimal path can be chosen if data needs to be transferred
from one node to another.
Working
• For “Y”
Working
• For “Z”