Re: Best/simplest/fastest approach for creating "virtual switch" out of

Daniel Hartmeier <[email protected]> Mon, 18 Mar 2013 15:25:29 +0100
Newsgroups gmane.os.openbsd.pf
Message-ID <[email protected]>
Yes, bridge between em2 and em3.

Assign the IP (used as gateway by the clients) to bridge0.

You'll have to duplicate the MAC filter rules per interface.

The pf rules need to match both interfaces with 'on { em2 em3 }',
and floating state-policy (default) will simply work. No increase in
complexity there.

If you dislike the syntax there, you can use an interface group, but
it's purely cosmetical.

HTH,
Daniel