Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 17:16:18 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        freebsd-net@freebsd.org
Subject:   Re: How to use if_bridge
Message-ID:  <20060418171618.4b5afc28@localhost>
In-Reply-To: <20060418145421.GA61197@owl.midgard.homeip.net>
References:  <200604142048.20189.doconnor@gsoft.com.au> <20060414140709.20c51ebc@localhost> <200604151053.25089.doconnor@gsoft.com.au> <20060415115352.1ef82bb1@localhost> <20060415195147.GA54638@heff.fud.org.nz> <20060415232801.0dbbc8f4@localhost> <4444CA13.8000405@wm-access.no> <20060418164142.0831e7db@localhost> <20060418145421.GA61197@owl.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_MQV9KXMnl3byXq2=hl0OxrZ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Erik Trulsson <ertr1013@student.uu.se> wrote:

> On Tue, Apr 18, 2006 at 04:41:42PM +0200, Fabian Keil wrote:

> > I tried if_bridge to let QEMU on my laptop talk to the wireless
> > network. It worked if the Laptop's NIC was in ad-hoc or hostap mode,
> > but failed if the NIC was connected to an access point.
> >=20
> > NAT solved the problem, but I still don't understand why if_bridge
> > didn't work. If it was expected to fail I think it should be mentioned
> > in the man page.
>=20
> Because when a station sends a packet to an AP the source ethernet address
> must be that of the station. =20
> A bridge should not modify the packets passed through it so then the sour=
ce
> address should be that of the originating computer instead of that of the
> station and then things will not work correctly.

Thanks for the explanation.

Fabian
--=20
http://www.fabiankeil.de/

--Sig_MQV9KXMnl3byXq2=hl0OxrZ
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFERQLDjV8GA4rMKUQRAmjOAKCOBK+/+i3dqwnYXQ1DRgV+oQwGHwCfaEka
NCqxIb0Z5Ytur9FrJt5lK2w=
=hE8d
-----END PGP SIGNATURE-----

--Sig_MQV9KXMnl3byXq2=hl0OxrZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060418171618.4b5afc28>