[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing help


I have an issue with routing that I just can't figure out.

What I have at the moment is a box set up with an IP and route as follows (some of the details have

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface UH 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 eth0 UG 0 0 0 eth0

eth0      Link encap:Ethernet  HWaddr 00:05:1C:0B:48:A8
inet addr: Bcast: Mask:

As can be seen from above the default route is set up to go to a gateway on a static route.

What I want to do is add an ip alias to eth0 with an ip address of and have it route out through the same gateway.

If I simply do "ifconfig eth0:1 netmask broadcast" I can ping the IP address from the machine that is on the same switch (e.g. from but I can not ping or trace to the ip aliased interface. I have searched around on google but can't seem to find what I am doing wrong!



Reply to: