Revision history [back]

click to hide/show revision 1
initial version

vlan tagged external network in openstack

I created a vlan tagged external network in my mutli node devstack setup. DVR is enabled in the setup

surya@ControllerNode:~/devstack$ neutron net-show external +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | id | 3ab2109a-5654-4672-a19c-4fef996ee229 | | name | external | | provider:network_type | vlan | | provider:physical_network | phy-ex | | provider:segmentation_id | 604 | | router:external | True | | shared | True | | status | ACTIVE | | subnets | 9a65104b-8496-4b2d-9a92-7fdc2fa3cd97 | | tenant_id | 33cc5eb298cd4c30953ba76b8eb3e961 | +---------------------------+--------------------------------------+

But when I associate a floating IP to a vm running on compute node , I can see that there are no flows created on the br-ex bridge to translate the internal vlan to external vlan. When I create a vlan provider I can see the vlan translation flows on br-data to which my physnet is associated to. Why I was not able to see the vlan translation in case of external networks. Right now the external network created is behaving as a flat network. How can I achieve vlan tagging with the vlan tagged external network

Openstack version :Juno

vlan tagged external network in openstack

I created a vlan tagged external network in my mutli node devstack setup. DVR is enabled in the setup

surya@ControllerNode:~/devstack$ neutron net-show external
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 3ab2109a-5654-4672-a19c-4fef996ee229 |
| name                      | external                             |
| provider:network_type     | vlan                                 |
| provider:physical_network | phy-ex                               |
| provider:segmentation_id  | 604                                  |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | 9a65104b-8496-4b2d-9a92-7fdc2fa3cd97 |
| tenant_id                 | 33cc5eb298cd4c30953ba76b8eb3e961     |
+---------------------------+--------------------------------------+

+---------------------------+--------------------------------------+

But when I associate a floating IP to a vm running on compute node , I can see that there are no flows created on the br-ex bridge to translate the internal vlan to external vlan. When I create a vlan provider I can see the vlan translation flows on br-data to which my physnet is associated to. Why I was not able to see the vlan translation in case of external networks. Right now the external network created is behaving as a flat network. How can I achieve vlan tagging with the vlan tagged external network

Openstack version :Juno