Hi. Regarding "automatic vlan creation"

Artis Caune artis.caune at gmail.com
Wed Oct 28 15:00:51 UTC 2009


2009/10/28 Sebastian Hyrwall <sh at keff.org>:
> Hi
>
> Now that FreeBSD has support for writing  , cloned_interfaces="em0.100"
> instead of having to create for example a vlan0 and then specify vlandev etc
> in ifconfig. What is the correct ifconfig-line in rc.conf for this?
>
> ifconfig_em0.100="" or ifconfig_em0_100="" does not work.

You probably forgot to put if_vlan_load="YES" in /boot/loader.conf
ifconfig_em0_100="..." should work.




-- 
Artis Caune

    Everything should be made as simple as possible, but not simpler.


More information about the freebsd-net mailing list