EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

US

Multiple IP Address of Instance

Multiple IP Address of Instance

Configure Multiple IP Address of Virtual Instance

Task:

  • Use the Network Created dclesons_VXLAN_VNI and add secondary network 90.90.90.0/24
  • Create the nova VM using this subnet and use the default parameters.

Solution:

Login to OpenStack Horizion Dashboard and click on Projects| Network and select the dclessons_VXLAN_VNI and click on edit network, here you will see ADD network and click on that.


Provide the details as shown below:

Now run the following command to create the port :

[root@localhost ~(keystone_admin)]# neutron port-create \--name PortWithSpecificIP-2 \--fixed-ip subnet_id=0ee686a6-eaac-4453-bb1c-ea4c3459dcb8,ip_address=90.90.90.11 dclessons_VXLAN_VNI

Now run the nova command top create the VM instance:

nova boot --flavor m1.tiny \--image cirros \--nic port-id=4a1a4995-4405-4b31-8e80-ac4eb469140e VM-SPECIFIC-IP-1

Now login to VM instance and verify the IP address:


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.