Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 9

Loopback

Interface, MTU
TCP/ I P
11-05-2014 LOOPBACK INTERFACE 1
Loopback Interface
Most implementations support a loopback interface
It allows a client and server on same machine(host) to communicate
with each other using TCP/IP.
Its name is localhost
Most system assign 127.0.0.1 to this interface
11-05-2014 LOOPBACK INTERFACE 2
Conti..
Any datagram sent to loopback interface must not appear on any
network
Everything sent to loopback address appears as IP input
Datagrams sent to a broadcast or a multicast address are copied to the
loopback interface and sent out on the Ethernet.
Anything sent to one of the hosts own IP addresses is sent to the
loopback interface.
11-05-2014 LOOPBACK INTERFACE 3
Processing of IP datagrams by loopback interfaces
11-05-2014 LOOPBACK INTERFACE 4
MTU
It stands for Maximum Transmission Unit
Characteristic of Link Layer
Most types of network have upper limit.
If IP has a datagram to send ,and the datagram is larger than the link
layers MTU,IP perform fragmentation
11-05-2014 LOOPBACK INTERFACE 5
Some MTU values (in bytes)
from RFC 1191
11-05-2014 LOOPBACK INTERFACE 6
Path MTU
Select Min value out of two in different networks
The Internet Protocol defines the "Path MTU" of an Internet
transmission path as the smallest MTU of any of the IP hops of the
"path" between a source and destination. Put another way, the path
MTU is the largest packet size that can traverse this path without
suffering fragmentation.
11-05-2014 LOOPBACK INTERFACE 7
Path MTU Discovery
a technique for determining the path MTU between two IP hosts
It works by setting the DF (Don't Fragment) option in the IP headers of
outgoing packets. Any device along the path whose MTU is smaller than
the packet will drop such packets and send back an ICMP"Destination
Unreachable (Datagram Too Big)" message containing its MTU.
11-05-2014 LOOPBACK INTERFACE 8
Conti
This information allows the source host to reduce its assumed path
MTU appropriately. The process repeats until the MTU becomes small
enough to traverse the entire path without fragmentation.
11-05-2014 LOOPBACK INTERFACE 9

You might also like