🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.openbsd-pf
Article #170

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

#170
From: Daniel Hartmeier
Date: Mon, 18 Mar 2013 14:31
15 lines
1429 bytes
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
Technical Details
Message-ID: <20130318142529.GA16007@insomnia.benzedrine.cx>
Path: arc1-ca.pugleaf.net!q9ni22218pba.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <0f1df14d-6c52-4e16-8077-f64e5c3ba014@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: bffa70e3,fbee5b1469703794,start
X-Google-Attributes: gidbffa70e3,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.114.134 with SMTP id jg6mr585018pab.10.1363617120384;
        Mon, 18 Mar 2013 07:32:00 -0700 (PDT)
Path: arc1-ca.pugleaf.net!q9ni22218pba.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: daniel@benzedrine.cx (Daniel Hartmeier)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: Best/simplest/fastest approach for creating "virtual switch" out
 of
Date: 18 Mar 2013 07:31:59 -0700
Organization: None
Lines: 15
Message-ID: <20130318142529.GA16007@insomnia.benzedrine.cx>
References: <0f1df14d-6c52-4e16-8077-f64e5c3ba014@googlegroups.com>
NNTP-Posting-Host: localhost.newsguy.com
Mime-Version: 1.0
NNTP-Posting-Date: 18 Mar 2013 14:31:59 GMT
X-Received-Bytes: 1058
Content-Type: text/plain; charset=us-ascii