[CentOS] Netcard don't up

Adriano Frare

alfrare at e-alinux.com
Mon Dec 12 10:29:11 UTC 2005


Dear Friends

I have 2 netcards (eth0 to Internet and eth1 to internal network) in 
CENTOS 4.2, bit when I boot system the up eth0 and et1i [OK].

When I run ifconfig the eth1 has not IP configure, then I run command 
ifdown eth1 and ifup eth1, after eth1 is work perfect.


Below I show file /etc/sysconfig/network-scripts/ifcfg-eth1

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth1
HWADDR=00:60:08:3e:0a:d1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.1.1




and route-eth1
GATEWAY0=192.168.1.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.0


When I run ifup eth1 , follow messages show me.

ifup eth1
RTNETLINK answers: File exists

When I run command route -n  , follow messages show me.

# route -n

192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1

But I don't know net 169.254.0.0.


Thanks

Adriano







More information about the CentOS mailing list