05 NW - Routing Note Chinh
05 NW - Routing Note Chinh
106
Routing
• Two independent networks (LAN, but also applies to WAN)
Router
WAN B
LAN E
WAN C
WAN D
LAN A
WAN F
LAN E
WAN C
WAN D
LAN A WAN F
• Addressing
• Each host is given a unique address worldwide (IP address, not the same as the Layer 2 address!)
• Router
• Special computers (nodes of the Internet)
• forwards received packets to routers that are closer to the destination (“forwarding")
• "Hop by hop" principle: each router only decides the path to the
next router
• Destination-based forwarding
• Sender address not evaluated
• The best path is the path between the sender and receiver that has the lowest
sum of the corresponding sub-metrics (e.g. Costs, Bandwidth, Latency, …)
• Are the "connection" to the Internet, e.g. ADSL dial-up lines or leased lines
• ISPs interconnect their networks (peering) and sell transit services to each other