[CentOS] Netcard don't up

Alexander Dalloz ad+lists at uni-x.org
Mon Dec 12 16:14:07 UTC 2005


Am Mo, den 12.12.2005 schrieb Adriano Frare um 11:29:

> 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

I don't see why you set a device specific static route. Exactly that
route is set automatically without any route-eth1 config file.

> When I run ifup eth1 , follow messages show me.
> 
> ifup eth1
> RTNETLINK answers: File exists

Because the interface is already up.

> 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.

http://www.google.com/search?hl=en&q=zeroconf+APIPA&btnG=Google+Search

Can be suppressed by NOZEROCONF=yes in /etc/sysconfig/network.

> Adriano

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 17:11:11 up 7 days, 21:48, load average: 0.06, 0.09, 0.09 
-------------- 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/20051212/8500b9bd/attachment.sig>


More information about the CentOS mailing list