Sie sind auf Seite 1von 16

1

DELIVERY AND ROUTING OF


IP PACKETS
KEY IDEA: ROUTING TABLE TELLS A ROUTER HOW PACKETS ARE TO BE DELIVERED
Quotes of the Day
2

 ACCORDING TO MU’ADH IBN JABAL, WHEN THE


PROPHET(SAW) APPOINTED HIM GOVERNOR OF
YEMEN, HE SAID, “ ABSTAIN FROM LUXURIES, FOR
THOSE WHO LIVE LUXURIOUS LIVES ARE NO
SERVANTS OF GOD.

 Hadith of Ahmad Ibn Hanbal


Agenda
3

 Delivery and routing of IP packets (topic)


 Internet and routing
 IP delivery strategies
 Direct delivery (same network)
 Indirect delivery (different networks)
 Routing table and techniques
 Next‐hop based versus route‐based
 Network‐based versus host‐based
 Host‐specific routing
 Default routing
Our Internet
4

 The Internet is the network of networks.


Internet and routing
5

 Basic function of the Internet


 To allow any two hosts to talk to each other using IP packets
 Routing enables data packets to find the way
through the Internet
 Depending on the locations of the two hosts, the
delivery can be
 Direct, or
 Indirect
Direct Delivery
6
Indirect delivery
7
IP delivery strategies
8

 IP delivery is primarily network‐based


 Host X is to send a packet to host Y
 Case 1: Hosts X and Y are in the same network
 Direct delivery
 Case 2: They are in different networks
 Indirect delivery
 The last hop is direct delivery from a router in the
destination network to the destination
How do hosts make routing decisions?
9

 When a host X receives a packet to be delivered to Y


 Host X checks whether Y is within the same network
 If yes, directly deliver the packet to host Y

 If no, deliver the packet to the appropriate router


Routing table
10

 In case of indirect delivery, a host looks up a


routing table to determine which router to use
 Most networks have only one router (known as the default
router)
 A router also uses a routing table to determine how
a packet is to be delivered
How is routing table organized?
11

 Main issue: size of the routing table must be


manageable
 Cost: A larger routing table needs more memory
 Performance: It takes longer to search a large routing table

 Different techniques
 Next‐hop based versus route‐based
 Network‐based versus host‐based

 Host‐specific routing

 Default routing
Next‐hop routing versus
12
route‐based routing
Network‐specific versus
13
host‐specific
Host‐specific routing
14
Default routing
15
Summary
16

 Delivery and routing of IP packets (topic)


 Internet and routing
 IP delivery strategies
 Direct delivery (same network)
 Indirect delivery (different networks)
 Routing table and techniques
 Next‐hop based versus route‐based
 Network‐based versus host‐based
 Host‐specific routing
 Default routing

Das könnte Ihnen auch gefallen