On 2020-11-15, Mihai Popescu <mih...@gmail.com> wrote:
> Hello,
>
> In the scenario of building a router with APU4, one interface is for wan,
> the rest of three are free to use.
> What is the most sane and performance wise ( CPU load, interface load,
> etc.) way to tie together the remaining three interfaces as a switch, and
> avoid using one IP class per interface?

bridge(4), and add a vether to the bridge to hold the IP address (otherwise
the IP will stop working if the port it's configured on goes down).

> Is it better to use one for lan, leave the remaining two unused and cascade
> a dumb switch for other lan connections?

If there is a significant amount of traffic between machines on the bridged
ports, it will be slowed down by the bridge. Also PF rules have to take
the bridging into account. On the other hand, that might be want you want..


Reply via email to