On Sun, May 08, 2005 at 07:02:49PM -0400, Brett I. Holcomb wrote
> >From what I can see I am supposed to set my MTU to 1492 for DSL using 
> PPOE.  I modified the /etc/conf.d/net.eth0 iface line to add the option 
> mtu 1492.  However, from what the manual says I can't set the addresses 
> and the mtu.  So where in Gentoo should I set the mtu.  I can set it in 
> /etc/conf.d/local.start but I'm wondering if there is a better place.

  Gentoo has added an extra "abstraction layer" for its config.  Most
services in /etc/init.d use generic variables so you don't have to
modify anything in them.  These generic variables are declared and set
in scripts in /etc/conf.d.  This is the official Gentoo way.

  This also applies to /etc/init.d/net.ethxxx services.  Look in
/etc/conf.d/net for the places to set variables.  It's 90% comments and
examples.  The two uncommented lines in my /etc/conf.d/net are...

iface_eth0="192.168.123.250 broadcast 192.168.123.255 netmask 255.255.255.248 
mtu 1454"
gateway="eth0/192.168.123.254"

  At http://www.mynetwatchman.com/kb/adsl/pppoemtu.htm there's a techie
explanation why MTU 1454 reduces overhead by 0.6% versus MTU 1492.

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
[email protected] mailing list

Reply via email to