Re: Bridging interfaces



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: pgpWJear1kmKQ.pgp
Description: PGP signature



Relevant Pages

  • Re: PIX proxy-arp question
    ... Your subnet masks are incorrect on the ... >> and dmz interfaces ... >> within the network configured on the outside interface. ... > But I didn't find any configuration hints for PIX yet. ...
    (comp.security.firewalls)
  • Re: Bridging and Routing (4 Nics on one machine)
    ... but the bridge is not really necesary ... You will use another IP subnet for your VPN network, ... When you create an VPN you need to attach them to a logical network (IP ...
    (Fedora)
  • Re: iscsi multipath fails when cluster service is started
    ... Sorry if I missed this previously, are your iSCSI network connections on the ... If the iSCSI connections are not on the same subnet as your other cluster ... i think the problem is that the interfaces are in the same subnet. ...
    (microsoft.public.windows.server.clustering)
  • Re: Multiple MAC on a single (physical) interface
    ... you could use a netgraph bridge to bridge several ... MAC address. ... interfaces is tipically something I'm afraid of doing through SSH. ... Since there is not much sense in saying that network 10.0.0.0/24 ...
    (freebsd-questions)
  • Re: iscsi multipath fails when cluster service is started
    ... No, I use dedicated subnets for the heartbeat, public, and iscsi connections. ... If the iSCSI connections are not on the same subnet as your other cluster ... test the behavior of the network inferfaces. ... i think the problem is that the interfaces are in the same subnet. ...
    (microsoft.public.windows.server.clustering)