Re: howto disable auto route setup?

David Woodhouse (David.Woodhouse@mvhi.com)
Tue, 02 Feb 1999 01:04:31 +0000


sam@gate.mps.co.uk said:
> partial agreement. theoretically, solves nothing. *practically*,
> makes configuring networking under linux far easier.

Not necessarily. It doesn't get point to point devices right. Having to add
the second line in the attached snippet of script is a pain in the arse.

/sbin/ifconfig ippp0 $MYIP pointopoint $ISPIP -arp -broadcast up
/sbin/route del -net 158.152.0.0 netmask 255.255.0.0 dev ippp0
/sbin/route add $ISPIP ippp0
/sbin/route add default gw $ISPIP

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/