Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Other interfaces not getting IP address

I am trying to create an instance from an RHEL image. The RHEL image had one network interface. Now when i launch an instance using this image and attach the instance to more than one networks(3 actually in my case), what i notice is that although an "ip a " lists me three network interfaces, but the other two interface dont get an IP address. When i digged down, i found out that "ifcfg-eth1" and "ifcfg-eth2" files under the /etc/sysconfig/network-scripts/ directory were missing. Upon simply adding and restarting the network these two nw interfaces got the IP as well.

So i wanted to know from other people experience that how do they handle such a scenario? Also, i just cannot go ahead and create ifcfg-files because i am not sure as to what will be the interface name. It could be eth or enps or em. Also note that i have enabled network-manager but that doesnot help either.

Kindly suggest solutions on RHEL6 and RHEL7.

Other interfaces not getting IP address

I am trying to create an instance from an RHEL image. The RHEL image had one network interface. Now when i launch an instance using this image and attach the instance to more than one networks(3 actually in my case), what i notice is that although an "ip a " lists me three network interfaces, but the other two interface dont get an IP address. When i digged down, i found out that "ifcfg-eth1" and "ifcfg-eth2" files under the /etc/sysconfig/network-scripts/ directory were missing. Upon simply adding and restarting the network these two nw interfaces got the IP as well.

So i wanted to know from other people experience that how do they handle such a scenario? Also, i just cannot go ahead and create ifcfg-files because i am not sure as to what will be the interface name. It could be eth or enps or em. Also note that i have enabled network-manager but that doesnot help either.em.

Kindly suggest solutions on RHEL6 and RHEL7.