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>

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

[-- Attachment #1 --]
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-STABLE.
> What I have are two interfaces
> 
> rl0 - 192.168.2.2
> sis0 - 192.168.1.2
> 
> 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 the
> 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 
illusion of a single layer 2 network. In general, you have a single IP 
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 
192.168.2/24 side to be on the 192.168.1/24 subnet. 

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

Good luck,

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

[-- Attachment #2 --]
-----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-----
help

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