Re: Command for configure vlan
YunQiang Su <firstname.lastname@example.org> writes:
> On Thu, Sep 27, 2012 at 12:11 PM, Christoph Egger <email@example.com> wrote:
>> YunQiang Su <firstname.lastname@example.org> writes:
>>> I am trying to add VLAN (802.1q) support to netcfg, while I still confused by
>>> which command to use to configure vlan, ip or ipconfig or something else.
>> ifconfig vlan0 create
>> ifconfig vlan0 vlan 23 vlandev em0
> ifconfig em0.23 create
> ifconfig em0.23 vlan 23 vlandev em0
Quick test suggests it does. But I don't have network hardware right
here to confirm it actually works as expected.