vlan support - Is it possible to have only tagged frames?

Robert Moskowitz rgm at htt-consult.com
Mon Sep 8 23:12:38 UTC 2014


I am testing on a F19 arm system.  Arm should not matter, other than the 
MACaddr right now is random on each boot.

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0"

/etc/sysconfig/network-scripts/ifcfg-eth0.16

DEVICE="eth0.16"
BOOTPROTO="dhcp"
VLAN="yes"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0.16"
HOSTNAME="test.htt-consult.com"
IPV6INIT="yes"

ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UNKNOWN qlen 1000
     link/ether 86:a1:66:94:ad:03 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::84a1:66ff:fe94:ad03/64 scope link
        valid_lft forever preferred_lft forever


I checked my switch config and the port I am using is set for tagged and 
the vlan is '16'.

So what am I missing?

On 09/08/2014 04:14 PM, Robert Moskowitz wrote:
>
> On 09/08/2014 03:33 PM, Louis Lagendijk wrote:
>> On Mon, 2014-09-08 at 14:02 -0400, Robert Moskowitz wrote:
>>> I know that to support vlaning, I have a ifcfg-eth0.n file with the
>>> entry vlan=yes and this will support vlan tag value n.
>>>
>>> But can I leave off the default ifcfg-eth0 file and have NO untagged 
>>> usage?
>>>
>>> I know I can configure my switch to only provided tagged frames to a 
>>> port.
>>>
>>>
>> Just define ifcfg-eth0 without IP-address but active. Then ifcfg-eth0.x
>> can be used for the tagged packages.
>
> I think there has to be a bit more than that, just in case there is 
> some system doing DHCP or RA on the default VLAN just to make things 
> difficult.
>
> onboot=yes
> bootproto=none
> NM_CONTROLLED=no
> NETWORKING=no
> IPV6INIT=no
> IPV6_AUTOCONF=no
>
> And if Networking=no, is the IPV6 reduntant?
>
>



More information about the users mailing list