LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Set mtu on ppp0 device? (https://www.linuxquestions.org/questions/linux-networking-3/set-mtu-on-ppp0-device-280736/)

Moloko 01-22-2005 12:54 AM

Set mtu on ppp0 device?
 
I want to lower the mtu setting of the ppp0 device. The pc connects with pppoe. Setting a different mtu on the eth[x] devices is easy enough, but the mtu on ppp0 persists at setting itself at 1492 no matter what I change in /etc/ppp/peers/dsl-provider or /etc/ppp/options.

/etc/ppp/peers/dsl-provider:
pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452 -C [isp] -S [isp]"
...
mtu 1452
...

How do I override the mtu on ppp0?

(Debian, using the debian rp-pppoe package)

drjoms 01-21-2014 03:52 PM

obviously i am too late
 
Obviously i am late. But it may help someone.


#ip link set ppp0 mtu 1452


add it to start up script somewhere
ppp0 - is ppp network interface inside linux kernel. where 1452 - mtu size actually.
To see if you have ppp0 interface do "ip link"
I assume that iproute is installed.
http://www.policyrouting.org/iproute2.doc.html


All times are GMT -5. The time now is 04:57 PM.