I am trying to configure a bridged network in a CentOS machine created with virtual box. I already did the same on two ubuntu 12.04 machines, and this is how the /etc/network/interfaces file looks like:
auto lo iface lo inet loopback auto eth0 iface eth0 inet manual auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_stp off bridge_fd 0 bridge_maxwait 0
This way on the ubuntu machine, the IP address 192.168.0.x is associated with the br0 interface:
Instead on the CentOS machine that IP address is still associated with the eth0 interface:
This makes me think that I'm still missing something in the network configuration. But the problem is that there isn't such file as /etc/network/interface in CentOS, instead there is /etc/sysconfig/network-scripts/ifcfg-br0, but the syntax is totally different. Does anyone know how to do the same in CentOS?