CentOS - Only one network adapter starts
I use CentOS on every server I have. One of my servers, an HP ProLiant DL320 Generation 2, has a network card that is pretty much perfect for CentOS, except for one small flaw. For some reason, I can't get CentOS to use both network adapters at the same time. I can have both network cards up (using
Can you show the content of /etc/sysconfig/network-scripts/ifcfg-eth0 & ifcfg-eth1.
Can you check the MAC address reservations in the DHCP server.
MAC Address reservations:
Couldn't give these out, Smoothwall doesn't log MAC addresses.
1. do you want IPV6 on or not? Unless you're actively using it, I'd recommend not.
2. I always turn NM_CONTROLLED off ('no'). It seems to cause more problems than it supposedly helps with. You can probably find a lot of agreement on google.
3. check mac addresses against /etc/udev/rules.d/70-persistent-net.rules
4. wherever you're getting your DHCP leases from, you need to know if its trying to hand out the address used by eth0
Looks like you are missing the netmask on ifcfg-eth1...
The PREFIX is also 24, and not 16.
The combination causes ifcfg-eth1 to be configured with a netmask of 255.255.255.0, and that would cause eth0 to be disabled.
Problem resolved. I disabled NMCONTROLLED on both adapters, disabled IPv6, and put both network cards on the same /16 (172.16.*.*). Now they both work perfectly.
|All times are GMT -5. The time now is 12:42 AM.|