VLAN ID different than 0 doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
Undecided
|
Hari Prasad Killi |
Bug Description
I had issue with VLAN ID. In shortcut in my tests cases work only VLAN configuration with VLAN_ID=0, for other values I didn't get correct IP address from lanner.
I tried with some combinations with configuration of VLAN ID, and the update is that only VLAN_ID 0 works fine for my. I have tried with different configuration and ports, but only VLAN_ID = 0 give me correct IP address and possibility to ping devices in other subnets.
I had Ubuntu 14.04 (kr.3.13.0-65), with enable vlan and 8021q inside. I use vconfig for creating VAN on my NIC.
So to add VAN ID 1 on my machine I run command
vconfig add eth0 1
After that I had interface eth0.1, then I add to /etc/network/
VLAN 1
auto vlan1
iface vlan1 inet dhcp
vlan_raw_device eth0.1
And for make sure that networking was reloaded I simply restart eth0 and 0.1 interfaces. And no other VLAN_ID than 0 give me IP address. No matter than if I have 2 logical ports on one physical or 1 logical on 1 physical, only VAN_ID_0 works correctly.
So maybe I am doing VLAN with wrong way, but it will be good to make sure that this works or didn't work.
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
assignee: | nobody → Hari Prasad Killi (haripk) |
In this case, a logical interface should be created on the router with the required vlan id and parent referring to the physical interface. Please confirm whether this was done or not.