What you need to do is bridge your physical network interface - which you seem to have partially done.
Please post the output of
Also, a quick tutorial; on my Fedora machine which acquires its IP via DHCP, the process to bridge the interface was:
1. Edit
/etc/sysconfig/network-scripts/ifcfg-eth0 so that it looks like the below:
Code:
# more /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82567LM-3 Gigabit Network Connection
DEVICE=eth0
TYPE=Ethernet
HWADDR=00:25:B3:15:2E:00
ONBOOT=yes
BRIDGE=br0
NM_CONTROLLED=no
Note the "NM_CONTROLLED" setting is something you can probably leave out - I've only had to use it on Fedora 13 - so on CentOS you probably don't need it.
2. Create a new file
/etc/sysconfig/network-scripts/ifcfg-br0 that looks similar to the below:
Code:
# more /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
HWADDR=00:25:B3:15:2E:00
ONBOOT=yes
NM_CONTROLLED=no
Note the same explanation about NM_CONTROLLED as the previous point.
3. Restart the network interface (be careful if this box is not locally accessible):
Code:
#service network restart
And that should be that. Thereafter in virt-manager, you assign br0 as the network interface for your VM - and once the VM boots up, it should dynamically receive an IP via DHCP which is different to your host IP.
If you're using a static IP/s, its just as simple; with the difference being that you manually specify the IP, NETMASK and GATEWAY in the abovementioned configuration files.