multiple tenant network on multiple physical networks

asked 2017-09-13 15:53:18 -0500

Cristiano gravatar image

updated 2017-09-14 03:06:15 -0500

Hi, I have two separated physical networks and I want use them to provide vlan tenants networks on Openstack Juno. These are the physical networks: physnet1 and heartbeat corresponding to two NIC eth0 and eth1. My configuration is:

network_vlan_ranges = physnet1:976:1000,heartbeat:786:793

tenant_network_type = vlan
network_vlan_ranges = physnet1:976:1000,heartbeat:786:793

bridge_mappings = physnet1:br-eth0, heartbeat:br-eth1

I mapped the bridges through:

ovs-vsctl add-br br-eth0
ovs-vsctl add-port br-eth0 eth0

ovs-vsctl add-br br-eth1
ovs-vsctl add-port br-eth1 eth1

As admin I created the two tenant networks:

Network Type: vlan
Physical Network: physnet1
Segmentation ID: 976


Network Type: vlan
Physical Network: heartbeat
Segmentation ID: 786

When I create a VM attached to heartbeat network the ifconfig command shows the tagged interface eth0.786. This behavior is unexpected because I should have eth1.786. What's wrong?

edit retag flag offensive close merge delete