[CentOS] Make eth1 primary interface

Alexander Dalloz ad+lists at uni-x.org
Wed Feb 15 18:00:25 UTC 2006


Am Mi, den 15.02.2006 schrieb Chris Mason (Lists) um 18:50:

> 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

grep GATEWAYDEV /usr/share/doc/initscripts*/sysconfig.txt

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 18:59:47 up 5 days, 3:51, load average: 1.89, 1.58, 1.27 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20060215/5e51db62/attachment.sig>


More information about the CentOS mailing list