[plug] Adding an extra NIC

peregrin2 at westnet.net.au peregrin2 at westnet.net.au
Wed Apr 13 16:16:00 WST 2005


I was asked to add an extra NIC to a Fedora cr2 box (2.6.9-1.6). 
Easy enough says I.  It is set up as the following;

eth0 = aironet wirelessw card (ifcfg-eth0 fully commented)
eth1 = ADSL network on 10.0.0.0
eth2 = wireless network on 192.168.10.0
eth3 = internal lan on 10.40.68.0

Eth 1 and 2 are e100's and eth3 is the onboard e1000. Now I added "alias
eth4 e1000" to /etc/modprobe.conf, setup ifcfg-eth4 as a copy of eth3
and left ifcfg-eth3 commented out.

Shutdown. Install card. Can't ping on 10.0.0.0. Can't ping on
192.168.10.0. If i setup ifcfg-eth3 with a network of 10.10.10.0 I can't
ping on that. However eth4 (10.40.68.0) works fine.

If I setup ifcfg3 and ifcfg4 the same and remove the card all works
well. 

In my logs i have these extra bits added when the new NIC is in.

Apr 13 14:47:56 server network: Bringing up loopback interface:
succeeded
Apr 13 14:47:56 server ifup: Usage: grep [OPTION]... PATTERN [FILE]...
Apr 13 14:47:56 server ifup: Try `grep --help' for more information.
pr 13 14:47:56 server ifup: Missing config file ifcfg-ifcfg-eth0.
Apr 13 14:47:56 server network: Bringing up interface eth0:  succeeded

Apr 13 14:47:59 server network: Bringing up interface eth1:  succeeded

Apr 13 14:48:01 server network: Bringing up interface eth2:  succeeded

Apr 13 14:48:01 server ifup: Usage: grep [OPTION]... PATTERN [FILE]...
Apr 13 14:48:01 server ifup: Try `grep --help' for more information.
Apr 13 14:48:01 server ifup: Missing config file ifcfg-ifcfg-eth3.
Apr 13 14:48:01 server network: Bringing up interface eth3:  succeeded
Apr 13 14:48:01 server kernel: e1000: eth4: e1000_watchdog: NIC Link is
Up 100 Mbps Full Duplex
Apr 13 14:48:03 server network: Bringing up interface eth4:  succeeded


Any ideas on why ifup is failing and it is looking for ifcfg-ifcfg-eth0?

Hmm, just found a long message from dhcpd when the system starts with
the NIC. Main part being;

Apr 13 14:36:30 server dhcpd: No subnet declaration for eth2
(192.168.10.8).
Apr 13 14:36:30 server dhcpd: 
Apr 13 14:36:30 server dhcpd: No subnet declaration for eth2
(192.168.10.8).
Apr 13 14:36:30 server dhcpd: ** Ignoring requests on eth2.  If this is
not what

Same for eth1.

All the ifcfg files are set to static. The dhcpd server is used for
machines on the local net and I can't see anything in dhcpd.conf that
looks wrong. 

Any ideas or a point in the right direction would be appreciated.

Here is a copy og ifcfg-eth1 if it helps. All the files 1-4 are set out
roughly the same;

DEVICE=eth1
#BOOTPROTO=dhcp
BOOTPROTO=static
BROADCAST=10.0.0.255
IPADDR=10.0.0.1
NETMASK=255.255.255.0
NETWORK=10.0.0.0
ONBOOT=yes
TYPE=Ethernet

Cheers

Nigel







More information about the plug mailing list