Re: reaching the guest from the host through network



just a point of reference, i tried really hard to make this work first with boxes then with virt-manager, and with virt-manager i gave some links on the gnome bug where it looks some people made it.

but otherwise now i gave up because unfortunately setting up the guest and accessing it is only step one, i have many more things to do. and so I set up virtualbox and there it's point-and-click and i can tell you 100%, virtualbox can bridge vlan interfaces without any problems with the latest fedora18 3.7 kernel. and without root, too. maybe there was a one-time setup as root and then of course they have a kernel driver i believe, but now i'm running it as normal user.

emmanuel


On Fri, Feb 8, 2013 at 6:43 PM, Zeeshan Ali (Khattak) <zeeshanak gnome org> wrote:
On Fri, Feb 8, 2013 at 7:29 PM, Lucas Meneghel Rodrigues <lmr redhat com> wrote:
> On 02/08/2013 12:36 PM, Emmanuel Touzery wrote:
>>
>> looking at this:
>> https://bugzilla.gnome.org/show_bug.cgi?id=677688
>>
>> it seems that at least for now my best bet would be using virt-manager
>> which is more powerful than gnome-boxes. I'll try that now.
>
>
> Bridging requires root access, something that boxes can't provide you right
> now, since it can only access the unprivileged qemu session. Since
> virt-manager can access the privileged qemu session, it also has access to
> the libvirt bridge, and it will all work fine.
>
> Note that using wifi and having a working bridge is perfectly possible, a
> wifi interface is very much like an ethernet interface for bridging
> purposes.

Thats what I thought too but seems libvirt guys do not agree:

<zeenix> http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29
<zeenix> " Unfortunately, wireless interfaces cannot be attached to a
Linux host bridge"
<zeenix> is that really true?
<zeenix> i clearly remember doing that with success
<zeenix> that doc seem a bit outdated. Talks of disabling network
manager for fedora 12
<danpb> that is still accurate - you can't use bridges with wifi in
general, because most wifi cards will refuse to send packets with
different MAC addrs
<danpb> and of course traffic from VMs will have different mac addrs

--
Regards,

Zeeshan Ali (Khattak)
FSF member#5124



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