Dual NICs - When I 'ifup eth1' it replaces eth0 | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Dual NICs - When I 'ifup eth1' it replaces eth0

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-08-2013
phaedrus phaedrus is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 2 September 2013, 12:15 AM EDT
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Dual NICs - When I 'ifup eth1' it replaces eth0

I've got an issue with a VMWare server running RHEL 6.3 that has dual E1000 NICs. I have configured the cards as I would normally do in /etc/sysconfig/network-scripts as ifcfg-eth0 and ifcfg-eth1. I can execute ifup eth0 and bring the interface up quite happily, however when I execute ifup eth1 it succeeds but the IP details are assigned to eth0 and eth1 has no IP details as shown below:


Code:
eth0      Link encap:Ethernet  HWaddr 00:50:56:XX:XX:XX  
          inet addr:X.X.X.X  Bcast:X.X.X.X  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16073098 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12947041 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3523869151 (3.2 GiB)  TX bytes:3595458089 (3.3 GiB)

eth1      Link encap:Ethernet  HWaddr 00:50:56:XX:XX:XX  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:203710 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13025 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14763933 (14.0 MiB)  TX bytes:5191322 (4.9 MiB)

I've checked /etc/udev/rules.d/70-persistent-net.rules and the MAC addresses match what is in vSphere for the virtual hardware. I can't find anything else that appears weird or unexpected.

Does anyone have any ideas as to what I might have screwed up here?
Sponsored Links
    #2  
Old 01-08-2013
admin_xor's Avatar
admin_xor admin_xor is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 8 April 2014, 5:55 AM EDT
Posts: 452
Thanks: 13
Thanked 79 Times in 76 Posts
Hi,

Please post the contents of the /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1 files.
Sponsored Links
    #3  
Old 01-09-2013
phaedrus phaedrus is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 2 September 2013, 12:15 AM EDT
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, below are the contents of the two files requested. Let me know if any further info would be helpful.


Code:
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
IPADDR=X.X.X.X
NETWORK=X.X.X.X
NETMASK=255.255.255.0
GATEWAY=X.X.X.X
DNS1=X.X.X.X
DNS2=X.X.X.X
HWADDR=00:50:56:95:6b:31
BOOTPROTO=none
IPV6INIT=no
USERCTL=no


DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
IPADDR=X.X.X.X
NETMASK=255.255.255.240
HWADDR=00:50:56:95:6b:32
BOOTPROTO=none
GATEWAY=X.X.X.X
IPV6INIT=no
USERCTL=no


Last edited by Corona688; 01-10-2013 at 11:32 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Wan on eth1 and Lan on eth0 golpemortal Red Hat 0 11-04-2012 12:12 PM
eth0 and eth1 disappeared on Red Hat Lord Spectre Emergency UNIX and Linux Support 15 11-02-2012 04:49 PM
Ubunut iptable not routing trafic between eth1 and eth0 florin.bv Ubuntu 2 05-11-2012 09:33 AM
Reg- eth0,eth1 (ethernet card) kurva Solaris 1 07-09-2009 06:02 PM
ifcfg-eth0 and eth1 is N/A kenshinhimura Red Hat 2 03-12-2008 06:14 PM



All times are GMT -4. The time now is 07:18 AM.