How to enable VLAN interface on normal interface

Vince jhary at unsane.co.uk
Tue Feb 27 09:58:27 UTC 2007


Eygene Ryabinkin wrote:
>>    I need some help on enabling VLAN interface on an ethernet interface.
>>    Please provide me the steps to configure and enable VLAN interface on
>> FreeBSD 6.0 OS.
>>     
>
> Is your Google worse than mine?
> See http://people.freebsd.org/~arved/vlan/vlan_en.html, the third
> link in Google on the request 'freebsd vlan'.
>   
Its actually even easier than that these days.
using an0 as its the only interface on this laptop.

kldload if_vlan
ifconfig an0.1 create
ifconfig an0.1
an0.1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
        ether 00:40:96:43:24:09
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: associated
        vlan: 1 parent interface: an0

Vince



More information about the freebsd-net mailing list