Re: Bridging interfaces



That makes a lot of sense, but I suppose I still don't understand why this
isn't working. The handbook section on routing is pretty basic and it seems
to come down to setting net.inet.ip.forwarding to 1 if you want to route
packets between interfaces on a dual-homed host. I'm able to reach hosts on
both subnets from the router and my routing table looks like:

Internet:
Destination Gateway Flags Refs Use Netif
Expire
default wireless UGS 0 9905
sis0
localhost localhost UH 0 134
lo0
192.168.1 link#1 UC 0 0
sis0
orinoco 00:d0:09:f8:f7:5a UHLW 1 268 lo0
192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 87
sis0
192.168.2 link#2 UC 0 0
rl0
192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 1 87
rl0


On 9/29/07, Christopher Cowart <ccowart@xxxxxxxxxxxxxxxxxxxx> wrote:

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


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Could an ICMP Redirect have disconnected my server?
    ... yes - but you seem to have a strange network ... does a routing table entry from an ICMP Redirect time out? ... systems with the same subnet number. ...
    (comp.os.linux.networking)
  • Re: Cant figure out simple routing between 2 Windows domains
    ... I'm lost on how to get a very simple routing setup working for 2 ... floor I have domain2.com with a subnet of 192.168.2.0/24. ... network together with the cable running between them. ... You need one router with an interface in each network. ...
    (comp.dcom.sys.cisco)
  • Re: Cannot ping subnet through VPN
    ... where is this subnet and how is it connected? ... can't really advise you if we don't know how your network is configured. ... depends on the routing on the subnet you are trying to reach. ... >> configured as Remote access server with single NIC/IP ...
    (microsoft.public.win2000.ras_routing)
  • Re: FreeBSD 4.9 / VRRP / vlan
    ... >up cause it already has route to that network in routing table. ... There's no problem to add the virtual IP as an alias of ether cards .. ... passive router not to announce the subnet to others one ...
    (freebsd-net)
  • [Full-disclosure] Lets make a spy-proof communications infrastructure
    ... cell phone network which will run like a peer to peer network, ... If we devised some private communicator, ... While truly global routing might require some relays to bridge areas ...
    (Full-Disclosure)