Monday, April 14, 2025

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

On Monday, April 14th, 2025 at 11:14 AM, Peter N. M. Hansteen <peter@bsdly.net> 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 sense to configure them as parts of a trunk(4)?
>
> --
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
> "Remember to set the evil bit on all malicious network traffic"
> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Yes, in the case at hand, I must feed a switch with two SFP+ ports, so the clients have as much bandwidth as possible. At times, I must feed a second identical switch, halving the bandwidth. The configuration needs to be "plug and play", to avoid editing /etc/ each time. Perhaps a trunk will fail in this case, because the two lines are managed as one in real time?

No comments:

Post a Comment