cannot route after adding more interfaces
Hi,
At one of our servers here, we have about 11 ip adresses
allocated to it.
However, when I try to add an additonal interface, the server
cannot traceroute to anywhere anymore.
In particular, the last couple of entries in the routing table
look strange:
100.100.100.0 * 255.255.255.0 U 0 0 26201 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 13866 eth0:11
where 100.100.100.0 is our entire network. eth0:11 is the last
interface we added in /etc/init.d/network. With this, everything
still works fine.
Now, when I add an additional interface, eth0:7 which isn't used
before, the routing tables change to the following:
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
And the machine can no longer traceroute to anywhere.
Could anyone please tell me how to change it to use eth0 for
default instead of 11 or 7.
Thanks in advance.
Cheers,
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: