physical interface taking IP after reboot

asked 2018-03-05 03:59:33 -0500

abukapsoun gravatar image


I am trying to set up the bridge, however when the system restart, I can see my physical interface takes the same IP as the bridge. If I bring down/ up using ifdown/ ifup the IP dissapears.

Why and How the physical interface is taking an IP on boot? Below is my configuration

vi /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=OVSPort NAME=ens33 DEVICE=ens33 DEVICETYPE=ovs OVS_BRIDGE=br-ex ONBOOT=yes

vi /etc/sysconfig/network-scripts/ifcfg-br-ex DEVICE=br-ex DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR= NETMASK= GATEWAY= IPV4_FAILURE_FATAL=no IPV6INIT=no ONBOOT=yes

edit retag flag offensive close merge delete


Perhaps you will be more successful if you name the interface file ifcfg-ens33. The file name shouldn't really matter, but perhaps it does after all, and it doesn't hurt trying. And after all, it's better to name your objects in a consistent way.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-06 00:36:26 -0500 )edit

You can also use ovs-vsctl show to check if the interface is really inserted into the bridge.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-06 00:39:27 -0500 )edit