----- Original Message ----- 
From: "Robert Siemer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 24, 2004 5:45 AM
Subject: Re: [Eagleusb-dev] Patch PPPoA: lift artificial limits --> MTU =
1500

I use now v1.9.9 driver and so try to remove MTU=MRU=1492 and MSS=1410 from
my script.

This way ppp0 set automaticly MTU to 1500 even if advertised of a bigger MRU
Sep  4 11:02:01 ipcop pppd[321]: rcvd [LCP ConfReq id=0xbe <mru 9178> <auth
pap> <magic 0x276af147>]
Sep  4 11:02:01 ipcop pppd[321]: sent [LCP ConfAck id=0xbe <mru 9178> <auth
pap> <magic 0x276af147>]

As a testing purpose, I try to use bigger MRU MTU.
I set mru=36000 and mtu=16383 (pppd don't accept a bigger mtu size)
Sep  5 01:03:17 ipcop pppd[12716]: sent [LCP ConfReq id=0x1 <mru 36000>
<asyncmap 0x0> <magic 0xd93060ff>]
Sep  5 01:03:17 ipcop pppd[12716]: rcvd [LCP ConfReq id=0xe2 <mru 9178>
<auth chap MD5> <magic 0x11652be6>]
Sep  5 01:03:17 ipcop pppd[12716]: sent [LCP ConfNak id=0xe2 <auth chap
MS-v2>]
Sep  5 01:03:17 ipcop pppd[12716]: rcvd [LCP ConfReq id=0xe3 <mru 9178>
<auth pap> <magic 0x11652be6>]
Sep  5 01:03:17 ipcop pppd[12716]: sent [LCP ConfAck id=0xe3 <mru 9178>
<auth pap> <magic 0x11652be6>]
Sep  5 01:03:20 ipcop pppd[12716]: sent [LCP ConfReq id=0x1 <mru 36000>
<asyncmap 0x0> <magic 0xd93060ff>]
Sep  5 01:03:20 ipcop pppd[12716]: rcvd [LCP ConfAck id=0x1 <mru 36000>
<asyncmap 0x0> <magic 0xd93060ff>]

ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.64.103.183  P-t-P:192.168.254.254
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:9178  Metric:1
          RX packets:386 errors:0 dropped:0 overruns:0 frame:0
          TX packets:182 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:30888 (30.1 Kb)  TX bytes:12143 (11.8 Kb)

So, it work for me (tm)


Having a bigger mtu set does not automaticly mean I will send/receive bigger
packets as other restriction may exist in the path.
I look with tcpdump when using download or upload.
Even if I am not understanding everything in the log, it look to me I did
not receive packets bigger than when standard mtu=1500 was used. I saw
mss=1460 in the log.

I have tested too bigger mru/mtu with other usb adsl drivers and PPPoA
(speedtouch usb kernel and user-mode, bewan usb). Nothing particular to say.
It just work.

Is MTU=65535 for the modem ethernet interface necessary|intented?

eth3      Link encap:Ethernet  HWaddr 00:60:4C:0C:BD:E6
          inet addr:10.0.0.139  Bcast:10.255.255.255  Mask:255.255.255.254
          UP BROADCAST RUNNING MULTICAST  MTU:65535  Metric:1
          RX packets:51506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33044 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23508305 (22.4 Mb)  TX bytes:4282290 (4.0 Mb)


Reply via email to