Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread otto.cooper
On Monday, April 14th, 2025 at 11:14 AM, Peter N. M. Hansteen wrote: > Just a thought: > > if the reason you are setting up two network interfaces on a system to > connect to the same > subnet is to use as much as possible of the bandwidth offered by the > interfaces, would > it not make more

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread otto.cooper
On Monday, April 14th, 2025 at 11:42 AM, Daniel Jakots wrote: > On Mon, 14 Apr 2025 09:33:38 +, "otto.cooper" > otto.coo...@proton.me wrote: > > > The problem at hand is how to define the macros ext_if and int_if for > > a system with multiple interfaces. > > > On my router, I use ifconfig'

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread otto.cooper
On Monday, April 14th, 2025 at 10:03 AM, Janne Johansson wrote: > > The problem at hand is how to define the macros ext_if and int_if for a > > system with multiple interfaces. > > Neither pf.conf(5) nor "the book of PF" give a working example where the > > macro holds more than one name. >

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread otto.cooper
Sent with Proton Mail secure email. On Monday, April 14th, 2025 at 1:52 PM, otto.cooper wrote: > On Monday, April 14th, 2025 at 1:16 PM, Zé Loff zel...@zeloff.org wrote: > > > On Mon, Apr 14, 2025 at 01:14:23PM +0200, Peter N. M. Hansteen wrote: > > > > > Just a thought: > > > > > > if

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread otto.cooper
On Monday, April 14th, 2025 at 1:16 PM, Zé Loff wrote: > On Mon, Apr 14, 2025 at 01:14:23PM +0200, Peter N. M. Hansteen wrote: > > > Just a thought: > > > > if the reason you are setting up two network interfaces on a system to > > connect to the same > > subnet is to use as much as possible

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread Zé Loff
On Mon, Apr 14, 2025 at 01:14:23PM +0200, Peter N. M. Hansteen wrote: > Just a thought: > > if the reason you are setting up two network interfaces on a system to > connect to the same > subnet is to use as much as possible of the bandwidth offered by the > interfaces, would > it not make more

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread Daniel Jakots
On Mon, 14 Apr 2025 09:33:38 +, "otto.cooper" wrote: > The problem at hand is how to define the macros ext_if and int_if for > a system with multiple interfaces. On my router, I use ifconfig's group parameter for that: https://man.openbsd.org/ifconfig#group # grep internal /etc/hostname.* /

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread Peter N. M. Hansteen
Just a thought: if the reason you are setting up two network interfaces on a system to connect to the same subnet is to use as much as possible of the bandwidth offered by the interfaces, would it not make more sense to configure them as parts of a trunk(4)? -- Peter N. M. Hansteen, member of

Re: pf.conf: definition of macro for multiple interfaces

2025-04-14 Thread Janne Johansson
> The problem at hand is how to define the macros ext_if and int_if for a > system with multiple interfaces. > Neither pf.conf(5) nor "the book of PF" give a working example where the > macro holds more than one name. > > This is the only existing example of relevant syntax in pf.conf(5): > > > e