O'Reilly logo

OpenStack Networking Cookbook by Chandan Dutta Chowdhury, Sriram Subramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Virtual IP using CLI

In this recipe, we will use the Neutron CLI to create and associate a VIP with a load balancer pool.

Getting ready

For this recipe, you will need the following information:

  • The SSH login credentials for a node where the Neutron client packages are installed
  • A shell RC file that initializes the environment variables for CLI
  • The name of the VIP
  • The name of the load balancer pool
  • The Subnet CIDR associated with this pool
  • A free IP address in the Subnet for the VIP configuration
  • The protocol port
  • The protocol type

How to do it…

The following steps will show you how to create a VIP and associate it with a load balancer pool using the Neutron CLI:

  1. Using the appropriate credentials, SSH into the OpenStack node installed with the Neutron ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required