Issue link: https://read.uberflip.com/i/1334488
OpenStack Networking 208 Getting ready While on the OpenStack API host, for example, openstack1, run the following command to list any floating ranges we have assigned: sudo nova-manage floating list This should list the IP range we originally set up when we first installed our openstack1 server. None 172.16.1.1 None nova eth1 None 172.16.1.2 None nova eth1 … To allocate a floating IP to an instance, ensure you're logged in to a client that is running euca2ools or Nova Client. How to do it... To assign a floating (public) IP address to an instance using euca2ools, carry out the following steps: 1. To allocate one of the floating IP addresses available to our project, we run the following command: euca-allocate-address 2. An address will appear from the pool of IPs we have available, for example, 172.16.1.1. 3. To associate this address to an instance, we issue the following commands: euca-associate-address -i i-00000002 172.16.1.1 4. We are now able to communicate with that instance using this assigned floating IP address. To assign a floating (public) IP address to an instance using Nova Client, carry out the following steps: 1. To allocate one of the floating IP addresses available to our project, we run the following command: nova floating-ip-create 2. An address will appear from the pool of IPs we have available, for example 172.16.1.1. www.it-ebooks.info

