Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument

From: Patrick M. Hausen <pmh_at_hausen.com>
Date: Mon, 19 May 2025 09:22:31 UTC
Hi all,

> Am 19.05.2025 um 10:53 schrieb Lexi Winter <ivy@FreeBSD.org>:
> 
> the basic problem here is that putting IP addresses on a bridge member
> is a layering violation and it's just not reasonable (or even possible)
> to support this in a sensible way in bridge.  this is why most dedicated
> network devices (switches, routers, etc.) don't let you do this.

Adding to this, the fact that IP addresses on member interfaces are not
supported has been documented from day one of the introduction of if_bridge(4).

A couple of months ago I did check the commit times of the code and the
relevant handbook section because exactly this discussion came up again
in a different context.

https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-bridging

> If the bridge host needs an IP address, set it on the bridge interface, not on the member interfaces

Kind regards,
Patrick