Re: bridge new vlan and iftagged "none"

Ronald Klop <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.