[CentOS] Local Host Routing

Tue Jun 2 23:43:33 UTC 2009
Stephen Harris <lists at spuddy.org>

On Tue, Jun 02, 2009 at 04:31:11PM -0700, Al Sparks wrote:

>   $ route -n
>   Kernel IP routing table
>   Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>   10.7.13.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
>   10.254.214.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
>   0.0.0.0         10.7.13.1       0.0.0.0         UG    0      0        0 eth0
> 
>    # route del -net 10.254.214.0 netmask 255.255.255.0
> 
> I lose connectivity with the nodes on the LAN.  When I do an 

Of course you do.  That entry you removed was saying "to reach the
10.254.214.0/255.255.255.0 network send traffic out of eth1".  

It is _not_ saying "to reach the rest of the world..."; the last line does
that.

> I guess it's not a big deal.  If it works don't fix it.  But I'm still curious.
> Any ideas?

It works as designed.  You just misunderstood what it meant.

-- 

rgds
Stephen