[CentOS] Re: Network and default route

Fri Apr 7 22:23:41 UTC 2006
centos at 911networks.com <centos at 911networks.com>

Scott Silva wrote:
> I have done that, but it still seems to have a mind of its own.
> Does the gateway statement mater where it is in the file?
> IE... could it be the second statement instead of the last?
The route is chosen according to the cost associated with the 
route. If the gateway is an IP address the cost will be 1, if it 
is an interface the cost will be 0. The route with the lowest 
cost will be used. You can have more than 1 gateway.


What does the command "route" says?

When the network has to work