PDA

View Full Version : Linux MTU settings......


nuderat
26-10-2003, 04:52 PM
Hey Guys.

I am running RH9 as a gateway server on melbourne 1.5k/256.

Just wondering what MTU you guys recommend for linux. I presume it is 1492 because that is what the p-t-p set as. Can any one tell me if i should set all the other network cards on my system to the same? I have been getting some timeouts on my connection e.g

Oct 26 06:33:49 wolverine pppd[2700]: No response to 3 echo-requests
Oct 26 06:33:49 wolverine pppd[2700]: Serial link appears to be disconnected.
Oct 26 06:33:56 wolverine pppd[2700]: Connection terminated.
Oct 26 06:33:56 wolverine pppd[2700]: Connect time 373.1 minutes.
Oct 26 06:33:56 wolverine pppd[2700]: Sent 104607 bytes, received 154076 bytes.
Oct 26 06:33:56 wolverine pppoe[2701]: read (asyncReadFromPPP): Session 1807: Input/output error
Oct 26 06:33:56 wolverine pppoe[2701]: Sent PADT
Oct 26 06:33:56 wolverine pppd[2700]: Exit.
Oct 26 06:33:56 wolverine adsl-connect: ADSL connection lost; attempting re-connection.
Oct 26 06:33:57 wolverine /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 06:34:02 wolverine pppd[7459]: pppd 2.4.1 started by root, uid 0
Oct 26 06:34:02 wolverine pppd[7459]: Using interface ppp0
Oct 26 06:34:02 wolverine pppd[7459]: Connect: ppp0 <--> /dev/pts/0
Oct 26 06:34:02 wolverine /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 26 06:34:33 wolverine pppd[7459]: LCP: timeout sending Config-Requests
Oct 26 06:34:33 wolverine pppd[7459]: Connection terminated.
Oct 26 06:34:33 wolverine /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 06:34:37 wolverine pppoe[7460]: Timeout waiting for PADO packets
Oct 26 06:34:37 wolverine pppd[7459]: Exit.
Oct 26 06:34:37 wolverine adsl-connect: ADSL connection lost; attempting re-connection.
Oct 26 06:34:42 wolverine pppd[7479]: pppd 2.4.1 started by root, uid 0
Oct 26 06:34:42 wolverine pppd[7479]: Using interface ppp0
Oct 26 06:34:42 wolverine pppd[7479]: Connect: ppp0 <--> /dev/pts/0
Oct 26 06:34:42 wolverine /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 26 06:35:13 wolverine pppd[7479]: LCP: timeout sending Config-Requests
Oct 26 06:35:13 wolverine pppd[7479]: Connection terminated.
Oct 26 06:35:13 wolverine /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 06:35:17 wolverine pppoe[7480]: Timeout waiting for PADO packets
Oct 26 06:35:17 wolverine pppd[7479]: Exit.
Oct 26 06:35:17 wolverine adsl-connect: ADSL connection lost; attempting re-connection.
Oct 26 06:35:22 wolverine pppd[7499]: pppd 2.4.1 started by root, uid 0
Oct 26 06:35:22 wolverine pppd[7499]: Using interface ppp0
Oct 26 06:35:22 wolverine pppd[7499]: Connect: ppp0 <--> /dev/pts/0
Oct 26 06:35:22 wolverine /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 26 06:35:53 wolverine pppd[7499]: LCP: timeout sending Config-Requests
Oct 26 06:35:53 wolverine pppd[7499]: Connection terminated.
Oct 26 06:35:54 wolverine /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 06:35:57 wolverine pppoe[7500]: Timeout waiting for PADO packets
Oct 26 06:35:57 wolverine pppd[7499]: Exit.
Oct 26 06:35:57 wolverine adsl-connect: ADSL connection lost; attempting re-connection.
Oct 26 06:36:02 wolverine pppd[7519]: pppd 2.4.1 started by root, uid 0
Oct 26 06:36:02 wolverine pppd[7519]: Using interface ppp0
Oct 26 06:36:02 wolverine pppd[7519]: Connect: ppp0 <--> /dev/pts/0
Oct 26 06:36:03 wolverine /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 26 06:36:33 wolverine pppd[7519]: LCP: timeout sending Config-Requests
Oct 26 06:36:33 wolverine pppd[7519]: Connection terminated.
Oct 26 06:36:34 wolverine /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 06:36:37 wolverine pppoe[7520]: Timeout waiting for PADO packets
Oct 26 06:36:37 wolverine pppd[7519]: Exit.
Oct 26 06:36:37 wolverine adsl-connect: ADSL connection lost; attempting re-connection.
Oct 26 06:36:43 wolverine pppd[7539]: pppd 2.4.1 started by root, uid 0
Oct 26 06:36:43 wolverine pppd[7539]: Using interface ppp0
Oct 26 06:36:43 wolverine pppd[7539]: Connect: ppp0 <--> /dev/pts/0
Oct 26 06:36:43 wolverine pppoe[7540]: PPP session is 3348
Oct 26 06:36:43 wolverine /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 26 06:36:44 wolverine pppd[7539]: local IP address 218.214.24.XXX
Oct 26 06:36:44 wolverine pppd[7539]: remote IP address 202.154.95.169

Any suggestions anyone? DSL_TECH?

fenix
27-10-2003, 06:46 PM
I believe the recommended MTU Setting is 1420.

I read somewhere on here that it solves a few issues with ssh.

the rest of your lan should be ok with 1500 as the MTU

dysgust
30-10-2003, 04:44 PM
1492 should be fine for pppoe.

I would be more inclined to look elsewhere for the source of the dropouts unless you're routing some really strange traffic.

I had a telstra DSL connection that was dropping out a lot like yours. Turned out to be an old corroded point in the wall generating line noise at random and inappropriate moments.

Dys