[CentOS] Re: Is there a way to save the routing table permanently?

Fri Aug 22 17:05:26 UTC 2008
John R Pierce <pierce at hogranch.com>

Scott Silva wrote:
>> Destination     Gateway         Genmask         Flags Metric Ref    Use
>> Iface
>> 212.47.23.188   0.0.0.0         255.255.255.252 U     0      0        
>> 0 eth0
>> 192.168.38.0    0.0.0.0         255.255.255.0   U     0      0        
>> 0 eth1
>> 192.168.36.0    192.168.38.254  255.255.255.0   UG    0      0        
>> 0 eth1
>> 192.168.37.0    192.168.38.253  255.255.255.0   UG    0      0        
>> 0 eth1
>> 0.0.0.0         212.47.23.189   0.0.0.0         UG    0      0        
>> 0 eth0
>>
>> David Hrbáč
> Static routes work fine, but having 2 default routes will not be easy 
> in linux. You can't be sure that packets can find there way back to 
> their origin.
> Yours seems to work for you, but I bet it is because the packets are 
> luckily getting back. It usually fails miserably.

thats not two DEFAULT routes, thats simply routes to various specific 
networks via gateways on the eth1 network.

and, yes, having two routes to destination 0.0.0.0 will rarely do what 
you want.   it will, however, create all kinda messes.