Computer Network - Topic 9 Dan 10
Computer Network - Topic 9 Dan 10
Networks
L. Budi Handoko, M.Kom. ([email protected])
Dian Nuswantoro University
Computer Networks
(Network Address Translation)
Anything to discuss ?
Computer Networks
(Terminology)
Computer Networks
(Routing)
How do packets get from A to B in the Internet?
Internet
A B
Routing is (refering to) a process of selecting paths in a network along which to send network traffic.
What is Routing?
IP Routing
Routing Tables
Routing Component
Computer Networks
(Routing Continues)
• Static Routing
It is the type of routing characterized by the absence of communication between routers regarding the current
topology of the network. This is achieved by manually adding routes to the routing table.
• Route path are Manually set by administrator • Router exchange routing information Dynamically
Exterior routing
Interior routing
Customer routing
Computer Networks
(Link-state Routing Protocol)
• The basic concept is that every node constructs a map of the connectivity to the network, in the
form of a graph, showing which nodes are connected to which other nodes. Each node then
independently calculates the next best logical path from it to every possible destination in the
network. The collection of best paths will then form the node's routing table.
• The algorithm :
• Each link, the connected nodes and the metric is flooded to all routers
• Each link up/down status change is incrementally flooded
• Each router re-computes the routing table in parallel using the common link state database
• next for more details…
Routing algorithm: Link State
Link State Overview
Link State concept
Link State Routing update
Computer Networks
(Distance Vector Routing Protocol)
• Use (also known as) the Bellman-Ford algorithm, Ford–Fulkerson algorithm, or DUAL FSM to
calculate paths.
• Distance means destination
• Flood routing table only to its neighbors
• Require that a router informs its neighbors of topology changes periodically.
• Example : RIP
• The algorithm :
• Each node sends its routing table (destination distance) to all neighbors every 30 seconds
• Lower distances are updated with the neighbor as next hop
• cannot scale
• cannot resolve routing loops quickly
• next for more details…
Distance Vector Algorithm
Distance Vector Routing update
Distance Vector broadcasting
Distance vector: crashed recovery
Count to infinity
Solving count to infinity
Link State vs Distance Vector
Anything to discuss ?