6.2 about the vlan setup

applecom at inbox.ru applecom at inbox.ru
Wed Jan 24 22:22:47 UTC 2007

ann kok <annkok2001 at yahoo.com> wrote:

> I put the "device vlan" and modify and recompile the
> kernel. reboot the computer. uname is showing it is
> new kernel
> but I can't see the vlan interface
> Do you know why?

See vlan(4) and ifconfig(8). Excerpt from vlan(4):
"Each vlan interface is created at runtime using interface cloning.  This
is most easily done with the ifconfig(8) create command or using the
cloned_interfaces variable in rc.conf(5)."
So loading if_vlan / compiling into kernel isn't sufficient.

Also look at http://people.freebsd.org/~arved/vlan/vlan_en.html (it's  
slightly outdated).

More information about the freebsd-questions mailing list