Mark A. Olbert wrote:
> In the interests of education, how was the routing table messed up? Because
> the prefix defaulted to 8 bits, which was inconsistent with the previous
> routing table entry (from eth1:0)?

You didn't give the routing table, but you probably had the wrong netmask.

For instance, I have:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
xxx.yyy.192.0   0.0.0.0         255.255.240.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         xxx.yyy.192.1   0.0.0.0         UG    0      0        0 eth0

Adding another ip address you add something like:

aaa.bbb.ccc.0   0.0.0.0         255.255.240.0   U     0      0        0 eth0:1

If the netmask is wrong, packets could be misrouted or even dropped.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to