Why all the interfaces on the system are getting same ip addresses ?

Solution Verified - Updated -

Issue

  • After system reboot, interfaces are coming up as below:
Interface       Slave Of  IPv4 Address        State  MAC Address
  =========       ========  ==================  =====  =================
  lo              -         127.0.0.1/8         up     -
  usb0             -        172.16.A.B/24     up     6e:ae:8b:xx:xx:xx
  eth0            -         172.16.A.B/24     up     00:00:c9:xx:xx:xx
  eth1            -         172.16.A.B/24     up     00:00:c9:xx:xx:xx
  eth2            -         172.16.P.Q/24     up     6c:ae:8b:xx:xx:xx
  eth3            -         172.16.A.B/24     up     6c:ae:8b:xx:xx:xx
  eth0.4007@eth0  -         10.113.X.Y/24      up     00:00:c9:xx:xx:xx
  • The interface files are configured with: ifcfg-eth0 has IPADDR=172.16.A.B, ifcfg-eth2 has IPADDR=172.16.P.Q and ifcfg-eth0.4007 has IPADDR=10.113.X.Y. Rest ifcfg-eth1, ifcfg-eth3 does not have any ip addresses mentioned, still they are taking ip address as above after boot.

Environment

  • Red Hat Enterprise Linux 6 (Any minor version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.