How to specify the default route?

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



I have a machine with two net interfaces.

it seems to always pick the wrong one (eth1) as the default route.

I can change it with

	route del default
	route add default eth0

after it's up (or in rc.local, of course), but I'd like to figure out  
what I need to do this "the CentOS way" (e.g. edit some configuration  
file? Run some config utility, what?) once and for all.

Can somebody point me to the canonical documentation on the subject?   
I've searched /usr/share/doc and the man pages, but I can't find  
anything useful.

Googling for "default route centos" gives some interesting stuff, but  
nothing definitive.

Thanks!

Rick
_______________________________________________
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