Re: if_bridge with two subnets



H.fazaeli wrote:

The bridge works as it should: It receives packets from
XX.XX.XXX.YYY on the interface connected to the switch, and
forwards them on the interface connected to the gateway.

The problem is that forwarding between subnets is the responsibility
of your switch. The switch does its job, but since the two clients are
not on the same IP subnet, they can not reach each other w/o the help of
an intermediate router.

Perhaps I am mixing up two separate networking concepts.

On a machine configured to act as a gateway, I would expect a single interface with more than one subnet to route packets correctly across those subnets. That may not be how it works in practice.

If it does not work, I would question why not. If it does work then I would expect the same behaviour on each of a bridge's constituent interfaces?

--
Jay L. T. Cornwall
http://www.jcornwall.me.uk/
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Single domain two IP subnets
    ... domain" (area in which a broadcast will freely propagate). ... Get a switch, plug 4 computers ... computers on disparate IP subnets cannot. ... VLANs switches, and switches in general, by many people. ...
    (microsoft.public.win2000.dns)
  • Re: Different terms for the same or more secure?
    ... >>Logically seperated subnets, I suppose, would be vlaned subnets ... subnet into a router, ... If a VLAN breaks up broadcast domains, then what is a vlaned subnet? ... On a switch, each port is its own collision domain, unlike ...
    (Security-Basics)
  • Re: Subnet & VLAN question
    ... You need something to route the subnets. ... > I've got a switch that setup 4 subnets. ... I have setup DHCP and the gateway for DHCP addresses is ...
    (microsoft.public.windows.server.networking)
  • Re: How best to segment my LAN? 800 PCs 1 Subnet
    ... We split ours up using an HP 5300 series switch that has Layer3 routing. ... servers like DC's, DNS, WINS, DHCP I have just left them right where they ... The hardest part was just making sure that the subnets were properly split ... > Will one Windows domain operate in two subnets? ...
    (microsoft.public.windows.server.networking)
  • Re: Subnet & VLAN question
    ... I assume I need a static route in the switch to route all the subnets, ... I have setup DHCP and the gateway for DHCP addresses is ...
    (microsoft.public.windows.server.networking)