LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2005, 09:23 PM   #1
linetnew
Member
 
Registered: Apr 2005
Location: India
Posts: 32

Rep: Reputation: 15
IP layer concepts


hello,
If a pc wants to send a packet to next hop(say host / router)then
it first does PMTU discovery and if it comes to know that next hop
uses 1500 bytes as its NIC configured and if it got 1450 bytes packet
does it directly forwards packet? and what if reverse condition is
that mean PMTU discovery is must so if pc got 1500 bytes packet and next hop has 1450 MTU then does that packet will be dropped? if yes then what happens at this situation?

regards,
rahul
 
Old 04-14-2005, 05:29 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Quote:
if it got 1450 bytes packet does it directly forwards packet?
Yes
Quote:
if pc got 1500 bytes packet and next hop has 1450 MTU then does that packet will be dropped? if yes then what happens at this situation?
the packet is not dropped, it is fragmented in 2 packets
Note that once your packet is fragmented, it is re-put together once the destination is reached and not at the next hop
 
Old 04-18-2005, 08:57 AM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
If one host sends a 1500 byte packet and the upstream interface on the next hop has an MTU of 1400 then the upstream host is responsible for fragmenting the IP packet. The destination host is then responsible for re-assembly.

The complication comes when the IP datagram has the do-not-fragment flag set. The upstream router must then discard the packet and send an ICMP "Destination Unreachable - Fragment needed on DF set " message back to the source of the packet. The Source device will then drop the MTU a bit and try again. Eventualy the packet will be reduced enough to get through. This sequence of events is known as Path MTU Discovery or PMTUD.

Using DF was done to reduce unnecessary loading on internet routers, as it pushes the responsibility and thus the processing overhead for getting the MTU correct back onto the host which is more likely to have cpu cycles to spare.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD Drives - Dual Layer or double layer? Groundhog1248 Linux - Hardware 2 09-23-2009 09:30 PM
Connecting on Layer 2, not Layer 3!!!! mattp Linux - Wireless Networking 3 11-29-2005 10:55 AM
Dual Layer ISO onto 2 Single Layer Medias iammike SUSE / openSUSE 3 05-11-2005 05:15 PM
Installation concepts plnelson Linux - Newbie 5 10-11-2004 07:24 AM
harddrive concepts balanagireddy Linux - Hardware 2 09-01-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration