[CentOS] Make eth1 primary interface

Chris Mason (Lists)

lists at masonc.com
Wed Feb 15 17:50:19 UTC 2006


I have a Centos 3 server with three network interfaces. eth0 is for the 
local network and the firewall is the gateway, the ip and gateway are 
set statically.
eth1 is a adsl connection using dhcp to allocate the ip. I want to make 
eth1 the default route. If it was statci I would just use a "route add 
default gwd eth1" command, but I  can't do that with DHCP.
How do I make eth1 the  default route?

-- 
Chris Mason
om 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the CentOS mailing list