Why all the interfaces on the system are getting same ip addresses ?
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
hasIPADDR=172.16.A.B
,ifcfg-eth2
hasIPADDR=172.16.P.Q
andifcfg-eth0.4007
hasIPADDR=10.113.X.Y
. Restifcfg-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, tools, and much more.