Date: Wed, 08 Feb 2006 10:56:29 -0500 From: Chuck Swiger <cswiger@mac.com> To: Andrew Pantyukhin <infofarmer@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: How to get 2 if's act like a switch? Message-ID: <43EA14AD.3080500@mac.com> In-Reply-To: <cb5206420602080740r28e3f214rc14e1c954c321c93@mail.gmail.com> References: <cb5206420602080203w79daa406i7c928c288325a96f@mail.gmail.com> <43E9E5E5.2070709@mac.com> <cb5206420602080740r28e3f214rc14e1c954c321c93@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Pantyukhin wrote: > On 2/8/06, Chuck Swiger <cswiger@mac.com> wrote: >> Andrew Pantyukhin wrote: [ ... ] >> See: "man bridge". > > Thanks. First I thought that bridge is not what I want. > Apparently, if_bridge does not switch packets, and > with 100 hosts on each if that would create unnecessary > overhead. But then, networks on both sides are switches, > so the overhead should be minimal if not none. > > I still wonder if there's some way to get switch > functionality. Connect the machine to a switch? :-) Your bridge machine should not see traffic directed towards MACs on other ports on the switch if the switch is working right. The switch ought to learn which MAC addresses are reachable through the port your bridge machine is on, and will just deliver the appropriate traffic (plus broadcasts). There's probably some netgraph trickery that would let you do STP on the bridge machine as an alternative solution, but I don't know enough about that to advise you on it.... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43EA14AD.3080500>