Re: cannot route after adding more interfaces
On Wed, 13 Oct 1999, Shao Zhang wrote:
[ snip ]
: 100.100.100.0 * 255.255.255.0 U 0 0 0 eth0:7
: 100.100.100.0 * 255.255.255.0 U 0 0 26251 eth0:11
: 100.100.100.0 * 255.255.255.0 U 0 0 2233 eth0
: 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
: default our.gate.way.ip 0.0.0.0 UG 1 0 16 eth0:7
Easy way:
Run the route command that adds the default route BEFORE you add the
aliased addresses.
Not as easy (but not hard):
Change the route command that adds the default route to read:
route add default gw ${GATEWAY} metric 1 dev eth0
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to: