I have a KVM host which has only one NIC and one public IPv4 adress (a.b.c.d/32) and a IPv6 /64 address block.
My plan is to connect to the he KVM host via IPv6 only and bridge the IPv4 into a VM and use it there.
Here my ifcfg-eth0, ifcfg-br0 and vm network adapter setup:
Code: Select all
IPADDR=192.168.254.254 # dummy IPv4 for spice to run properly, does not run on IPv6 only hosts
bridge name bridge id STP enabled interfaces
br0 8000.764dcc93d98a no eth0
virsh dumpxml (network adapter):
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
When I set manually the IPv4 address in the VM I am unable to ping anywhere not even to the IPv4 gateway.
Does the mac adress of the virtual network device have to be the same as the physical device or must they differ?
What am I doing wrong here?