qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Network bridging without adding bridge with brctl,


From: Arnd Bergmann
Subject: Re: [Qemu-devel] Re: Network bridging without adding bridge with brctl, possible?
Date: Sun, 20 Feb 2011 22:33:37 +0100
User-agent: KMail/1.12.2 (Linux/2.6.37; KDE/4.3.2; x86_64; ; )

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]