|
Linux Forum Index » Linux Development - System » Not set DF bit in IP header...
Page 1 of 1
|
| Author |
Message |
| cyril.li at (no spam) gmail.com... |
Posted: Wed Oct 08, 2008 12:49 am |
|
|
|
Guest
|
Hi,
We are finding that Linux will set DF bit in IP header by default.
Does anybody know how to make Linux to not set DF bit in Linux by
default? Thanks!
CY. |
|
|
| Back to top |
|
| Rainer Weikusat... |
Posted: Wed Oct 08, 2008 6:26 am |
|
|
|
Guest
|
"cyril.li at (no spam) gmail.com" <cyril.li at (no spam) gmail.com> writes:
Quote: We are finding that Linux will set DF bit in IP header by default.
That's called 'path MTU discovery', defined in RFC1191 (this text is
meanwhile nearly eighteen years old and one would assume that everyone
dabbling in transport-level network programming had at least heard of
it ...).
Quote: Does anybody know how to make Linux to not set DF bit in Linux by
default?
Either system-wide by writing a 1 to /proc/sys/net/ipv4/ip_no_pmtu_disc
or per-socket by using the SOL_IP socket option IP_MTU_DISCOVER (=>
ip(7)). |
|
|
| Back to top |
|
| |