This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change MTU size on PPPoE interface

Hi 
I would like to change the MTU size on my PPPoE interface. 
In the configuration of the PPPoE interface even with the advanced options enabled there is no possibility to change this value. 
If I have a look on the firewall I can find:

eth1      Link encap:Ethernet  HWaddr 00:05:5D:6E:B9:AC  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:6 txqueuelen:100 
          Interrupt:12 Base address:0xa400 

ppp0      Link encap[:P]oint-to-Point Protocol  
          inet addr:212.98.41.231  P-t-P:193.192.254.58  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:1437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1357 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 

ps x

  617 ?        S      0:00 /usr/sbin/pppd call BAD ipparam eth1#BAD pty /usr/sbin/pppoe -I eth1 -m 1452
  618 ?        S      0:00 /usr/sbin/pppoe -I eth1 -m 1452

Version 4.006.

eth1 is the interface where my DSL modem is connected to. One strange thing I notice is the difference
im MTU size between ppp0 (1492) and the configuration command (...-I eth1 -m 1452).

Does anyone knows how to reduce this value? 

The reason for this question: I actually have two problems: 
Outgoing: I can't send FTP-Data onto some host.
Incoming: VPN connections get established but transfering data on the VPN connection usually times out.

Thankx

Ralph


   


This thread was automatically locked due to age.
  • I'm not sure that changing the MTU on your PPPoE interface will actually fix your problem.  I only say that because if you drop your MTU to something like 1400, it will just try to fragment anything that is over 1400 bytes.  In the case of FTP-Data, which sets the Don't Fragment bit, those packets will be dropped.  

    I think the best way to fix this problem is to change the MTU on your server and VPN clients.  That way, you can set the MTU on the machines lower (say 1400, for example) and the host will never create  packets bigger than 1400 bytes.  Traffic from that host should pass over your external link just fine.

    As things are configured right now, the FTP server probably has a 1500 MTU configured and when the full size FTP data packets get to the PPPoE link, which has an MTU of 1492, the packets are being dropped because they cannot be fragmented (due to the Don't Fragment bit in the packet).  Changing the DSL MTU to something smaller like 1400 won't fix the problem, but just make the link drop packets (between the size of 1400 - 1492) that it would normally pass.

    Hopefully you aren't talking about a large number of VPN clients, because I'm not sure you can solve the VPN issues any other way.  The FTP server should be easy though, because after you change the MTU on that server, your FTP sessions should work for all clients.

    Hope that helps.