[CentOS-virt] KVM with bridge in one interface
armando.montiel at gmail.com
Thu Jun 24 17:56:27 EDT 2010
I have only one ethernet port in a remote server. (eth0)
I have a public address with x.x.x.164 netmask 255.255.255.240 gw x.x.x.161
and want to use in my guest OS the next available ip address (x.x.x.165 netmask 255.255.255.240 gw x.x.x.161)
Is this posible with brctl to achieve this?
I did a file called ifcfg-xenbr0 with:
then reboot, after that i use:
# brctl addif xenbr0 eth0
I was connected to my remote server but problems begin when I assigned the x.x.x.165 ip addres to the guest OS with
virt-manager to begin installation. I lost the remote connection. Maybe I miss something like this? :
iptables -I FORWARD -m physdev –physdev-is-bridged -j ACCEPT
to avoid loosing the connection ?
i'm still receiving ping from x.x.x.165 but x.x.x.164
More information about the CentOS-virt