Step-by-step guide

Add the steps involved:

  1. Create a new network interface on the external vlan

    [root@overcloud-controller-1 heat-admin]# neutron net-create lab1-vlan541 \
                             --provider:network_type vlan \
                             --router:external true \
                             --provider:physical_network datacentre \
                             --provider:segmentation_id 541
    neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
    Created a new network:
    +---------------------------+--------------------------------------+
    | Field                     | Value                                |
    +---------------------------+--------------------------------------+
    | admin_state_up            | True                                 |
    | availability_zone_hints   |                                      |
    | availability_zones        |                                      |
    | created_at                | 2017-10-18T00:26:05Z                 |
    | description               |                                      |
    | id                        | 6760aa48-f0ef-46ab-a6a8-de5cbfdbe9ee |
    | ipv4_address_scope        |                                      |
    | ipv6_address_scope        |                                      |
    | is_default                | False                                |
    | mtu                       | 1500                                 |
    | name                      | lab1-vlan541                         |
    | port_security_enabled     | True                                 |
    | project_id                | 3598428b5ccb4b91832ddc455eb98c76     |
    | provider:network_type     | vlan                                 |
    | provider:physical_network | datacentre                           |
    | provider:segmentation_id  | 541                                  |
    | qos_policy_id             |                                      |
    | revision_number           | 4                                    |
    | router:external           | True                                 |
    | shared                    | False                                |
    | status                    | ACTIVE                               |
    | subnets                   |                                      |
    | tags                      |                                      |
    | tenant_id                 | 3598428b5ccb4b91832ddc455eb98c76     |
    | updated_at                | 2017-10-18T00:26:05Z                 |
    +---------------------------+--------------------------------------+


  2. Create a new van definition on the controller nodes

    [root@overcloud-controller-1 heat-admin]# cat /etc/sysconfig/network-scripts/ifcfg-vlan541 
    
    # This file is autogenerated by os-net-config
    DEVICE=vlan541
    ONBOOT=yes
    HOTPLUG=no
    NM_CONTROLLED=no
    PEERDNS=no
    DEVICETYPE=ovs
    TYPE=OVSIntPort
    OVS_BRIDGE=br-ex
    OVS_OPTIONS="tag=541"
    BOOTPROTO=static
    IPADDR=192.168.72.9
    NETMASK=255.255.240.0


  3. Create the plan definition in the switch

        openstack-external-lab1-nw {
            description "Openstack NW for lab access";
            vlan-id 541;
        }


  4. External Networks

  

 

You may also want to use visual panels to communicate related information, tips or things users need to be aware of.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues