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

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



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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux