Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 19:04:10 -0700
From:      Christopher Cowart <ccowart@rescomp.berkeley.edu>
To:        Simon Timms <stimms@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bridging interfaces
Message-ID:  <20070930020410.GG19429@hal.rescomp.berkeley.edu>
In-Reply-To: <204aabdc0709291806t67c9f31u1ab05e5cdd83f258@mail.gmail.com>
References:  <204aabdc0709291806t67c9f31u1ab05e5cdd83f258@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--KmlZJfNsL65MWMNI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Sep 29, 2007 at 07:06:55PM -0600, Simon Timms wrote:
> Hello,
> I seem to be having some trouble bridging interfaces in FreeBSD 6.2-STABL=
E.
> What I have are two interfaces
>=20
> rl0 - 192.168.2.2
> sis0 - 192.168.1.2
>=20
> and a bridge I've set up following the pages in the handbook.  However
> frames don't seem to be routed from one interface to the other.  The
> internet gateway for the networks lives on 192.168.1.1 and I am able to
> reach the internet from boxes on the 192.168.1.0/24 subnet but not from t=
he
> other.  Tracing the route from a box on the 192.168.2.0/24 subnet the
> connection times out on the freebsd box, orinoco.

A layer 2 bridge connects two physical network segments to create the=20
illusion of a single layer 2 network. In general, you have a single IP=20
subnet sitting on top of a layer 2 network. Think of a bridge as a
2-port ethernet switch.

If you want a single layer 2 network, try readdressing the=20
192.168.2/24 side to be on the 192.168.1/24 subnet.=20

If you need different subnets, you'll want to configure *routing* and
not bridging (See: handbook/network-routing.html).

Good luck,

--=20
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iQIVAwUBRv8EGiPHEDszU3zYAQJ6rQ/8CfACFIrkX4AIAjOT+rernmHOa4a1PGgM
1N3QHSvGNkDvzx7AAqT+e8ToUw3x4UD/fiHBP8zqbH60EKJacdG5WCRzKQ3lF/kX
NZNTJEG6BDCYeypv3740UEHcZovdDNuHygh/ivFARRJhr0MTyO+hFuw8DzdDP8jg
zWjpe2WfFukMeRlxOm2qUhuOPVa4vIih1pKLX60qvos7MqCFJT8iaoPHqEt4DFYN
yUmAml5g3ZpSF8kv9HQlNellNrjWGs4ggOPTNGWB01D5i8ngk2Ml4xIjZc/lGysN
LkfEMPnzo1tFR3xav/3QNYKwrEsQb0/YS0tEi+uA4CSmoLnEA+Nks0XVj37OfhPl
7WlWxyKiIPITcD+jRWqYCsNj6AWeZtMqydJbUPO4Y0+YNM4sCwFLCVmAomjxnM85
/87bz68rUnZ3sFg0YCId334exdoTSZLQzxSBGyEmmTpTDsN7GYUWaYBulfdWFN73
KdcEymverrsJLu5ohZEtYqC3+w1iK0uDBOwXY1V+58kaqReu8bKLVkKK84IRn4Rz
wo7r204rgkrafYkP4e/XDxByCaOrx/ZEi3WoXpogtQ/CB+XnrXIYoEwi0zqKEIei
wH/dDaILMcI9mplU308qgeifuf0GQOr2zBU4AymFkAzHgK3ND8Ax5XvWUGiEQOIm
M5AswyBt95E=
=hxvs
-----END PGP SIGNATURE-----

--KmlZJfNsL65MWMNI--



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