Re: Command for configure vlan
YunQiang Su <wzssyqa@gmail.com> writes:
> On Thu, Sep 27, 2012 at 12:11 PM, Christoph Egger <christoph@debian.org> wrote:
>> YunQiang Su <wzssyqa@gmail.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
> Will
> ifconfig em0.23 create
> ifconfig em0.23 vlan 23 vlandev em0
>
> work?
Quick test suggests it does. But I don't have network hardware right
here to confirm it actually works as expected.
Regards
Christoph
Reply to: