[CentOS] vlan support

Tue Mar 4 20:13:17 UTC 2008
Les Mikesell <lesmikesell at gmail.com>

Miskell, Craig wrote:
>>
>> ls centos supporting vlan setup?
> If by that you mean 802.1q trunking, then yes.
> 
>> ls it reliable?
> Seems to be in my experience, but that's only limited so far.
> 
>> how can I do it?
> Create multiple ifcfg files in /etc/sysconfig/network-scripts, e.g. for
> multiple VLANs on eth0:
> ifcfg-eth0
> ifcfg-eth0.2
> ifcfg-eth0.100
> 
> The number after the decimal is the VLAN id (default (1), 2 and 100
> respectively above).  In each file, add VLAN=yes.   And don't forget to
> turn on trunking on the switch to which you're attached.  The network
> startup scripts will then do the right thing.

Are the details documented somewhere?  Is vlan 1 always native 
(untagged) or can you specify that?  I remember having some problem with 
  Intel NICs on windows not liking native packets at all if any were 
tagged but I don't know if that was a hardware or software issue.

-- 
   Les Mikesell
    lesmikesell at gmail.com