Re: epair(4)

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Tue, 20 May 2025 21:30:05 UTC
On 20 May 2025, at 22:13, Michael Grimm wrote:
> Kristof Provost <kp@freebsd.org> wrote:
>
>> There’s no reason to ever assign IP addresses to member interfaces.
>
>> Again, ifconfig bridge0 inet 192.0.2.1/24 is perfectly okay and will 
>> continue to work. ifconfig bridge0 addm epair0a ; ifconfig epair0a 
>> inet 192.0.2.1/24 is not.
>
> I have read all mails in this and the other thread's mails and I am 
> still puzzled by the wording:
>
>> The documentation has had this warning for a long time: “If the 
>> bridge host needs an IP address, set it on the bridge interface, not 
>> on the member interfaces.“
>
> Das "member interfaces" *include* or *exclude* the corresponding 
> epair0b part?
>
It does not. Typically you’d insert epair0b in a different vnet, but 
either way, it is not a member interface of the bridge, so it can have 
IP addresses assigned to it.

—
Kristof