Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 09:58:10 +0000
From:      Vince <jhary@unsane.co.uk>
To:        Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Cc:        tanniru.sankar@wipro.com, freebsd-net@freebsd.org
Subject:   Re: How to enable VLAN interface on normal interface
Message-ID:  <45E400B2.7090101@unsane.co.uk>
In-Reply-To: <20070227085447.GR1084@codelabs.ru>
References:  <8B9F8433B684734581EB519F1A3E5AF47B1D48@blr-m3-msg.wipro.com> <20070227085447.GR1084@codelabs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E400B2.7090101>