Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack Neutron VLan Networking Issue

I am facing Neutron Vlan networking issue in Openstack Mitaka, that is am not able to make my instance reachable from my physical vlan network after attaching them directly to the vlan network i created in Openstack with the segmentation id of my physical vlan network.

2 Node setup :- 1 compute node + 1 compute/controller/network node Separate NICs for Management(eth0) & Overlay/Instance Traffic(eth1, br-ex OVS bridge mapped)

Here are the steps i followed:-

a) Physical Switch Trunk mode configuration done on switch port to which NIC on Compute/Network node is connected for Instance/Overlay traffic. It allows vlan 14 to flow.

b) ifcfg-br-ex.14 created on both nodes to allow vlan 14 tagged traffic

c) ml2_conf.ini on Network/Controller node

type_drivers = vlan,gre tenant_network_types = vlan,gre mechanism_drivers =openvswitch path_mtu = 0

[ml2_type_vlan] network_vlan_ranges =vlan:14:14

[securitygroup]

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

d) openvswitch_agent.ini on both nodes

[ovs]

integration_bridge = br-int tunnel_bridge = br-tun bridge_mappings =vlan:br-ex

[securitygroup]

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

e) Create network

neutron net-create vlan_X --shared --provider:network_type vlan --provider:segmentation_id 14 --provider:physical_network vlan14 ­­router:external

f) Create Subnet

neutron subnet-create --name subnet_X --gateway 172.29.X.1 --disable-dhcp --allocation-pool start=172.29.X.250,end=172.29.X.253 vlan_X 172.29.X.0/24 --dns-nameserver 172.29.X.2 --host_routes type=dict list=true destination=169.254.169.254/32,nexthop=172.29.X.1

Note:Some IP details hidden

h) After which i launch an instance on vlan_X, it is not reachable from my external vlan network.

Any step i am missing? Please suggest, it will really help me.

Please let know for more info.

Openstack Neutron VLan Networking Issue

I am facing Neutron Vlan networking issue in Openstack Mitaka, that is am not able to make my instance reachable from my physical vlan network after attaching them directly to the vlan network i created in Openstack with the segmentation id of my physical vlan network.

2 Node setup :- 1 compute node + 1 compute/controller/network node Separate NICs for Management(eth0) & Overlay/Instance Traffic(eth1, br-ex OVS bridge mapped)

Here are the steps i followed:-

a) Physical Switch Trunk mode configuration done on switch port to which NIC on Compute/Network node is connected for Instance/Overlay traffic. It allows vlan 14 to flow.

b) ifcfg-br-ex.14 created on both nodes to allow vlan 14 tagged traffic

c) ml2_conf.ini on Network/Controller node

type_drivers = vlan,gre
tenant_network_types = vlan,gre
mechanism_drivers =openvswitch
path_mtu = 0

0 [ml2_type_vlan] network_vlan_ranges =vlan:14:14

[securitygroup]

=vlan:14:14 [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

True

d) openvswitch_agent.ini on both nodes

[ovs]

[ovs]

integration_bridge = br-int
tunnel_bridge = br-tun
bridge_mappings =vlan:br-ex

[securitygroup]

=vlan:br-ex [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

e) Create network

neutron net-create vlan_X --shared --provider:network_type vlan --provider:segmentation_id 14 --provider:physical_network vlan14 ­­router:external

­­router:external

f) Create Subnet

neutron subnet-create --name subnet_X --gateway 172.29.X.1 --disable-dhcp --allocation-pool start=172.29.X.250,end=172.29.X.253 vlan_X 172.29.X.0/24 --dns-nameserver 172.29.X.2 --host_routes type=dict list=true destination=169.254.169.254/32,nexthop=172.29.X.1

destination=169.254.169.254/32,nexthop=172.29.X.1

Note:Some IP details hidden

h) After which i launch an instance on vlan_X, it is not reachable from my external vlan network.

Any step i am missing? Please suggest, it will really help me.

Please let know for more info.

Openstack Neutron VLan Networking Issue

I am facing Neutron Vlan networking issue in Openstack Mitaka, that is am not able to make my instance reachable from my physical vlan network after attaching them directly to the vlan network i created in Openstack with the segmentation id of my physical vlan network.

2 Node setup :- 1 compute node + 1 compute/controller/network node Separate NICs for Management(eth0) & Overlay/Instance Traffic(eth1, br-ex OVS bridge mapped)

Here are the steps i followed:-

a) Physical Switch Trunk mode configuration done on switch port to which NIC on Compute/Network node is connected for Instance/Overlay traffic. It allows vlan 14 to flow.

b) ifcfg-br-ex.14 created on both nodes to allow vlan 14 tagged traffic

c) ml2_conf.ini on Network/Controller node

type_drivers = vlan,gre
tenant_network_types = vlan,gre
mechanism_drivers =openvswitch
path_mtu = 0

[ml2_type_vlan]
network_vlan_ranges =vlan:14:14

[securitygroup]

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True

d) openvswitch_agent.ini on both nodes

[ovs]

integration_bridge = br-int
tunnel_bridge = br-tun
bridge_mappings =vlan:br-ex

[securitygroup]

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

e) Create network

neutron net-create vlan_X --shared --provider:network_type vlan --provider:segmentation_id 14 --provider:physical_network vlan14 vlan ­­router:external

f) Create Subnet

neutron subnet-create --name subnet_X --gateway 172.29.X.1 --disable-dhcp --allocation-pool start=172.29.X.250,end=172.29.X.253 vlan_X 172.29.X.0/24 --dns-nameserver 172.29.X.2 --host_routes type=dict list=true destination=169.254.169.254/32,nexthop=172.29.X.1

Note:Some IP details hidden

h) After which i launch an instance on vlan_X, it is not reachable from my external vlan network.

Any step i am missing? Please suggest, it will really help me.

Please let know for more info.