Re: Command for configure vlan
YunQiang Su <email@example.com> writes:
> On Thu, Sep 27, 2012 at 12:11 PM, Christoph Egger <firstname.lastname@example.org> wrote:
>> YunQiang Su <email@example.com> 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.