Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2025 14:16:20 +0200
From:      Ronald Klop <ronald-lists@klop.ws>
To:        net@freebsd.org
Cc:        Lexi Winter <ivy@freebsd.org>
Subject:   Re: bridge new vlan and iftagged "none"
Message-ID:  <fc8f742f-aac5-4ae5-9c21-f1eac507c21b@klop.ws>
In-Reply-To: <aLmAB3iiaOQ5obGA@amaryllis.le-fay.org>
References:  <481902534.1074.1756977663370@localhost> <aLlvcpTEz4oZVQEe@amaryllis.le-fay.org> <1a91faca-69ef-410d-95ad-2d371c84f759@klop.ws> <aLl7rXaaR_7tosAU@amaryllis.le-fay.org> <aLmAB3iiaOQ5obGA@amaryllis.le-fay.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Op 04-09-2025 om 14:03 schreef Lexi Winter:
> Lexi Winter:
>> Ronald Klop:
>>> With the story above is the patch still needed? I will test anyway to
>>> see what happens. It is a RPI4, so compiling is a bit slow.
>>
>> i was able to reproduce the problem here so it's not too important to
>> test that if it's a hassle.
>   
> there's a better patch at [0].  if you are going to test this, i'd
> appreciate it if you'd test that rather than the patch i originally
> sent.  sorry, i realise compiling on that hardware does take a while :-)
> 
> [0] https://reviews.freebsd.org/D52380


Thanks, I will test in the near future.

NB: I don't know if my setup fits your setup in relation to where "host" traffic originates. My bridge does not have an IP address itself. I prefer to add an epair for local traffic.

genet0 <--> bridge0 <--> epair0a <--> epair0b

And in rc.conf:
ifconfig_epair0b="SYNCDHCP"
ifconfig_epair0b_ipv6="inet6 accept_rtadv"

This makes that epair0b is the interface of the host.
I like this setup as IMHO it mimics more how a host is connected to a switch. In this way my host is next to the jails in the bridge. Things like tcpdump-ing epair0b vs bridge0 are more predictable to me.

Regards,
Ronald.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc8f742f-aac5-4ae5-9c21-f1eac507c21b>