QEMU networking quirkiness on 7.0
fbsd06 at mlists.homeunix.com
Wed Apr 9 12:52:00 UTC 2008
On Wed, 9 Apr 2008 10:18:59 +0100
Andrew Cid <andrew at accid.net> wrote:
> Hi Jim,
> > The QEmu VM can access the web (I'm typing this out now in WindowsXP
> > running safely in it's cage, for example). But it cannot VPN into
> > work (timeout) or ping anything. I suspect it has to do with the
> > way that QEmu is given network access. Is there any way to set up
> > QEmu to access the network through an aliased IP address, and hence
> > look like any other machine on my network, rather than to hide
> > behind my BSD box? Is there another route I should take?+
> I connect my qemu boxes via the tap interface and then bridge it to
> the external interface so it works like just another box on the LAN.
> It's quite easy to setup and works pretty well, checkout:
ping fails because the qemu process runs as an ordinary user and
ping requires root privileges (the ping binary runs setuid).
The VPN problem may be simply due to qemu's use of NAT. I would suggest
you familiarise yourself with any NAT/firewall issues for your VPN
before switching to tap.
More information about the freebsd-questions