07 Network Layer Print PDF
07 Network Layer Print PDF
07 Network Layer Print PDF
Network Layer
how do non-neighbouring routers learn about each other and share information?
a router sends its information to its neighbours
each neighbour router adds this information to its own, and sends the updated
information to its neighbours; the first router learns about its neighbours neighbours
EE210 Data Communications and Computer Networks
7
initial routing
table exchanges
(no multi-hop
routes yet)
EE210 Data Communications and Computer Networks
8
as B is 1 hop
from A
a router gets its information about its neighbourhood by sending short ECHO
packets to its neighbours and monitoring the responses
1.
2.
3.
Note: arcs are
marked with their
cumulative cost
from the root (not
individual costs)
EE210 Data Communications and Computer Networks
19
5.
7.
9.
11.
13.
all nodes and arcs are
Permanent STOP:
this routers shortest-path
spanning tree has been found
EE210 Data Communications and Computer Networks
24
in large networks, the memory required to store the link-state database and the
computation time to calculate the link-state routing table can be significant
in practice, since the link-state packet receptions are not synchronised, routers may
be using different link-state databases to build their routing tables: how inaccurate
the results are depends on how different the routers views of the network are
EE210 Data Communications and Computer Networks
25
examples from the Internet are the Open Shortest Path First (OSPF) and Intermediate
System to Intermediate System (IS-IS) routing protocols
OSPF requires a lot of memory: each router holds its routing table & link-state database
Dijkstras algorithm computations are processor-intensive
legacy routers may be unable to relay packets when these calculations are taking
place which could be every time a link-state packet is received
OSPF can consume a lot of bandwidth if the network topology changes often
link-state packets sent to all routers using reliable flooding
need sequence number and time-to-live (TTL) field in each packet
EE210 Data Communications and Computer Networks
26