Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-20-2013, 06:40 PM   #1
LQ Newbie
Registered: May 2013
Posts: 5

Rep: Reputation: Disabled
Creating a VLAN interface on top of another VLAN interface

Hi folks,

I am trying to leverage ARP monitoring on a specific VLAN in order to rely on an IP address for all my VLAN interfaces.

The IP Address i want to monitor is, in the VLAN 16.
I also need to create other VLAN interfaces that will rely on the bonding with the ARP monitoring options.

Therefore on my linux hosts, i have to configure this:
eth3 -> eth3.16 (in vlan16)
eth4 -> eth4.16 (in vlan16)
eth3.16 + eth4.16 = bond16 with the IP Address:

At that point, this works well, the arp monitoring is okay and i can ping other hosts in this VLAN.

Ok, now, i need to create other VLAN interfaces on top of this bonded interfaces. Like bond16.21:

The interface comes up, but i can't ping other hosts in the same VLAN!

See some outputs:
[root@pay_ovs2vm1 vlan]# cat /proc/net/vlan/config
VLAN Dev name | VLAN ID
eth3.16 | 16 | eth3
eth4.16 | 16 | eth4
bond16.21 | 21 | bond16

[root@pay_ovs2vm1 vlan]# cat /proc/net/vlan/bond16.21
bond16.21 VID: 21 REORDER_HDR: 1 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0

total frames transmitted 18
total bytes transmitted 972
total headroom inc 0
total encap on xmit 0
Device: bond16
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:

If i setup another pair of eth's VLAN and recreate a bond, then it works fine:
eth3.21 + eth4.21 = bond21 with IP address can ping other hosts.

So, I guess my question is: is this setup allowed? Can i create a vlan interface on top of another vlan interface?

Else, can i can define a multi-VLAN interface?

Any other ideas welcome.

Old 05-22-2013, 02:25 AM   #2
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124

Rep: Reputation: 5
It is my understanding that, no, you would not be able to create a vlan on top of another vlan... but that is just my guess. I am an intern at a networking company, so take it with a grain of salt.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VLAN-interface comes up slowly Barry1 Linux - Networking 1 01-06-2011 05:49 AM
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 03:39 AM
Failed to remove VLAN interface. kanth001 Linux - Networking 1 03-01-2010 04:01 AM
Help in Vlan-Interface Paris Heng Linux - Networking 1 03-02-2009 06:20 PM
Using tcpdump on a sub-interface vlan mikeotieno Linux - Networking 3 09-24-2008 02:32 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration