LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sending ICMP messages of type 3 when packet size exceeds MTU of the interface (http://www.linuxquestions.org/questions/linux-networking-3/sending-icmp-messages-of-type-3-when-packet-size-exceeds-mtu-of-the-interface-634558/)

nmb1081 04-11-2008 01:00 AM

Sending ICMP messages of type 3 when packet size exceeds MTU of the interface
 
I have configured an interface with a MTU of 1200. Now, if i send a ping with Don' fragment bit set (ping -s 1400 -M do), the linux box silently drops this packet rather than sending ICMP messages of type 3, code 4 (Destination Unreachable, Fragmentation required, and DF set) when packet size exceeds MTU of the interface. Is there a way, I can get the linux box to send an ICMP type 3, code 4 message when it gets a packet crossing the MTU of the interface.

hariprs 04-13-2008 11:14 PM

Quote:

Originally Posted by nmb1081 (Post 3117572)
I have configured an interface with a MTU of 1200. Now, if i send a ping with Don' fragment bit set (ping -s 1400 -M do), the linux box silently drops this packet rather than sending ICMP messages of type 3, code 4 (Destination Unreachable, Fragmentation required, and DF set) when packet size exceeds MTU of the interface. Is there a way, I can get the linux box to send an ICMP type 3, code 4 message when it gets a packet crossing the MTU of the interface.

I think it is possible using iptables.


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