LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2005, 12:54 AM   #1
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
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)
 
Old 01-21-2014, 03:52 PM   #2
drjoms
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
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

Last edited by drjoms; 01-21-2014 at 04:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't Find Interface Ppp0: No Such Device orc Linux - Networking 10 09-12-2009 08:56 AM
set mtu above 1500 of firewire connection edman007 Linux - Networking 1 09-20-2004 03:08 PM
Samba via PPP0 device tnine9 Linux - Networking 0 10-12-2003 06:34 PM
ppp0 device startup Kane2002 Linux - Newbie 3 08-23-2003 01:59 PM
how do I set up ppp0 sherwood Linux - Networking 4 02-22-2003 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration