Hi all,
My test environment
Host os=rhel6.1
Guest os = rhel6.1
Libvirt=0.9.8
Kvm hypervisor
I have made this entry in guest xml file
<interface type='direct'>
<source dev='eth0'
mode='bridge'/>
<model type='virtio'/>
<address type='pci'
domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
Now when I start the guest
#virsh start guest
Following macvtap0 is created on host and is shown below
#ip link show macvtap0
51: macvtap0@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP>
mtu 1500 qdisc mq state UNKNOWN qlen 500
link/ether 52:54:00:55:AE:B5brd
ff:ff:ff:ff:ff:ff
but when the guest is up and I try to perform
# ifup eth0
It gives following message
“Bringing up interface eth0: Device eth0 does
not seem to be present, delaying initialization.
[FAILED]”
Guest eth interface does not create. What is the problem?
When I checked dmesg
on host it gives following message—“macvatp0: ipv6 routers not
present”
Please let me know how macvtap work on kvm.