Subject: Re: Re: Re: Re: qemu, bridge and wireless
To: Quentin Garnier <cube@cubidou.net>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 09/25/2007 00:28:24
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 24 2007 - 23:25, Joel CARNAT wrote:
> On Sat, Sep 22 2007 - 18:43, Quentin Garnier wrote:
> > On Sat, Sep 22, 2007 at 06:19:38PM +0200, Joel CARNAT wrote:
> > > On Sat, Sep 22 2007 - 14:25, Quentin Garnier wrote:
> > > > On Sat, Sep 22, 2007 at 12:10:34PM +0200, Joel CARNAT wrote:
> > > > > Hello,
> > > > >=20
> > > > > I have installed qemu 0.9.0 on NetBSD 4.99.30.
> > > > > My network card is a wireless "Intel PRO/Wireless LAN 3945ABG Min=
i-PCI
> > > > > Adapter".
> > > > >=20
> > > > > I have check the Makefile that ships with qemu but my VM can't pi=
ng the
> > > > > external network. The VM can ping my laptop's IP and my laptop ca=
n ping
> > > > > the VM's IP. I have enabled IP forwarding on the laptop but paque=
ts
> > > > > don't seem to go out the bridge.
> > > > >=20
> > > > > Any idea on what I missed ?
> > > >=20
> > > > You can't bridge a wpi.  I don't think you can bridge with any of
> > > > NetBSD's wireless drivers:  not only you need a card that supports
> > > > having as many associations to the AP as required, but of course you
> > > > need the software support.
> > > >=20
> > >=20
> > > OK... and would it make sense to have all qemu interfaces in bridge0 =
and
> > > do some NAT between wpi0 and bridge0 ?
> >=20
> > Sure.  You affect an IP address to one of the tap interface and you make
> > it the default route for the VMs.
> >=20
>=20
> Using PF, the VM now can go to the Internet.
> The thing is I'm not able to ping/TSE from the "real" workstation to the
> VM. Is this expected as I am using on a tap interface ?
>=20

erf... it's just that damm XP Firewall that blocked the ping by
default... sorry for the noise !

Regards,
	Jo


--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFG+DoI0/VH7L7F7Y4RAq+nAKCKJi3EkpGq+hDoZKwkt7aG4dDKEQCeIAOP
LMFxJanLTif2IaK1J09ZRkU=
=5J0H
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--