Re: which rc.conf syntax for vlans ? if.N or vlanN ?

Kurt Jaeger <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
Hi!

> > It worked even for dual stack:
> > 
> > cloned_interfaces="vlan2000"
> > ifconfig_vlan2000="vlandev mce0 vlan 2000 192.168.10.12/24"
> > ifconfig_vlan2000_ipv6="inet6 2001:db8:0001:0010:0000:0000:0000:eeee/64"

Aha, this works:

cloned_interfaces="vlan2000"
ifconfig_vlan2000="vlandev mce0 vlan 2000 192.168.10.12/24"
ifconfig_vlan2000_ipv6="2001:db8:0001:0010:0000:0000:0000:eeee/64"

> I tested on FreeBSD 14.2, `ifconfig_vlan2000_ipv6=...` also works
> as intended. IPv6 address is configured correctly.
> Am I missing something ?

No, I had one 'inet6' too much 8-}

Thanks for your guidance!

-- 
[email protected]         +49 171 3101372                  Now what ?
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.