On Sunday 20 February 2011, Gerhard Wiesinger wrote: > >> qemu-system-x86_64 ... some params ... -net > >> nic,model=e1000,macaddr=1a:46:0b:ca:bc:7c -net tap,fd=3 3<>/dev/tap10 > >> > >> Seems to me quite logically because macvtap0 (and not macvlan0) is > >> associated with /dev/tap10 but with another mac address set in KVM. > >> > >> Any furher ideas? > > > > As you already noticed: you mixed up the MAC addresses. KVM's must be > > the same as used for its frontend macvtap. The macvlan is only for the > > host and has a separate one. > > I think I did everyting right in the last 1st try but it still didn't > work: > 1.) macvtap0: MAC: 1a:46:0b:ca:bc:7b > 2.) macvlan0: MAC: 1a:46:0b:ca:bc:7c, 192.168.0.23 > 3.) KVM: MAC: 1a:46:0b:ca:bc:7b, assigned IP from DHCP: 1a:46:0b:ca:bc:7b > (looks like an IP address conflict inside guest and outside?) > > That should be as you explained, right? >
The qemu command above has the 7c mac address, which does not match. Do you see the interface in the guest using "ip link show" ? Arnd