Date: Sun, 26 Jan 2025 02:09:30 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: Kurt Jaeger <pi@freebsd.org> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: which rc.conf syntax for vlans ? if.N or vlanN ? Message-ID: <61620090-8A64-4CBF-9775-AC09E2A495E6@FreeBSD.org> In-Reply-To: <Z5UXe2gmwuZcWfX7@fc.opsec.eu> References: <Z5UXe2gmwuZcWfX7@fc.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jan 26, 2025, at 12:55 AM, Kurt Jaeger <pi@freebsd.org> wrote: > > Hi! > > Until around FreeBSD 13.2, one could create vlans with this: > > cloned_interfaces="vlan200" > ifconfig_vlan200="vlandev ix0 vlan 200 inet 192.168.10.1/24" This is the general approach to clone create interfaces, applicable to vlan(4) but also for other driver such as gif(4) and wg(4) etc. > > Around 14.x, this changed: > > vlans_ix0="200" > ifconfig_ix0_200="inet 192.168.10.1/24" This is specific to vlan(4) only. It create interface named in this form `ix0.200`. > > Will both variants be supported in the future (14, 15) or is one > of them on it's way out ? I believe both will be supported in future releases. > > -- > pi@FreeBSD.org +49 171 3101372 Now what ? > Best regards, Zhenlei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61620090-8A64-4CBF-9775-AC09E2A495E6>
