Professional Documents
Culture Documents
Internet Working
Internet Working
Connecting Networks
How Networks Differ
Problem: Here source and destination are on same type of network but there is
different kind of network in between.
Solution: Tunneling
Internetwork Routing
(a) An internetwork. (b) A graph of the
internetwork.
• Once the graph has been constructed, Distance Vector and Link state routing can
be applied to set of multiprotocol routers. This gives a two level routing algorithm:
1. Within each network an interior gateway protocol is used
2. But between networks, an exterior gateway protocol is used
Internetwork routing Internetwork routing
• Requires crossing • COST: within a network
international boundaries only one algorithm applies
but different networks may
1. Various laws come in to be under different
play like : sweden’s privacy managements , so there
law about exporting will be different routes with
personal data about different cost and quality of
swedish citizen from service
sweden • Within a big internetwork it
2. Canadian law saying data is difficult to choose best
originated from can add route as it is time
and destined in canada consuming.
may not leave the country.
Fragmentation
• Network designers are not free to chose any maximum packet
size they wish.( hardware, od, protocols, error handling)
• Problem: when a large packet wants to travel through a
network whose max packet size is too small.
1. Solution 1: use routing algorithm that avoid sending packets
to route that support small packet size.
2. Fragmentation: divide the big packet into small
But reverse process is not easy. ( 2nd law of
thermodynamic)
Option Description
Security Specifies how secret the datagram is
Strict source routingGives the complete path to be followed
Loose source routingGives a list of routers not to be missed
Record route Makes each router append its IP address
Timestamp Makes each router append its address and timestamp
Internet Control Protocols
• IP protocol only deal with the data transfer
• We need control protocol to check the
network
– ICMP, ARP, RARP, BOOTP, HDCP
Internet Control Message
Protocol (ICMP)
• ICMP error messages are used by routers and hosts to tell a device that
sent a datagram about problems encountered in delivering it
– Used to test the network
– Messages are encapsulated in the IP packet
– Has many message types
ARP (address resolution protocol)
• Exploits broadcast property of a LAN
• Each host on LAN maintains a a table of IP
subnetwork addresses
• If the address can not be found ARP broadcasts
a request
– Shouting: Who know about this IP address?
• Other hosts listen and reply
– The reply includes IP address and MAC
– Any interested host can learn about the new
information
ARP Example
• Assume 1 is sending a message to 2 (rose@sonoma.edu)
– Sonoma.edu is the host
– Host 1 sends a message to Domain Name System (DNS): what is the IP address for Sonoma.edu?
192.31.65.5
– What is the MAC address for 192.31.65.5? Use ARP broadcast!
• Host 2 respond: it is E2
– Host 1 maps IP and MAC; encapsulate the IP message in the Ethernet frame and send it
– Cashing can enhance ARP operation
ARP Example
• Assume 1 is sending a message to 4 (rose@sonoma.edu)
– Sonoma.edu is the host
– Host 1 sends a message to Domain Name System (DNS): what is the IP address for Sonoma.edu?
192.31.65.8 What is the MAC address for 192.31.65.8? ARP cannot pass through the router!
– Two choices:
• Reconfigure routers to response to ARP (Proxy ARP)
• Send the message to the LAN router (E3)F1F34 – Each router looks are the IP address and passes it to
the next node using the routing table
Reverse Address Resolution Protocol
(RARP)