On Fri, 25 May 2001, Ravi Ananth Giri K. wrote:

> On May 24, 08:08:15 PM (Thursday), or Thereabouts, Ravi Ananth Giri K. wrote:
> >>  Any ICMP packet I send is going out with the "don't fragment" flag
> >>  set. How do I unset this flag ? couldn't find anything after RTFM'ing.

oh really, i had the reverse problem, I wanted ping to have the df bit set
to send large packets to roll my own mtu discovery. What had me worried (
as you would see in the thread you mention below, is a particular kernel
function which trunactes icmp packets to sizes of 576 )

I finally used ipchans to log the icmp packets to see if large packets
were being send intact. They were. But not with df bit set, which was ok
for me. The kerenl function did not have anything to do with it. ( it was
for sending ICMP errors )


BSD's ping have an option to set df bit on and off, but linux doesnt have
that. So you have to change the code a bit if you want that. OTOH which
distro are you using, the behaviour you describe is different from my old
rhl 6.2.

-- sreangsu

> 
> ok! got the answer(kind of) in linux-india-help archives !!

> http://lists.linux-india.org/lists/linux-india-programmers/200103/msg00210.html


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to