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 157.16.6.1, 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: 157.16.6.2
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:
DEVICE=bond16.21
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
IPADDR=157.21.6.2
NETMASK=255.255.0.0
VLAN=yes
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
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
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 157.21.6.2 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.
Thanks
JB
|