8.9. Working with Compute Networking

This section describes the procedures for 'Creating a Network', 'Adding a Rule to Security Group' and 'Adding Floating IP Addresses' using Compute Networking.

Note

If you have opted for OpenStack Networking by setting the CONFIG_NEUTRON_INSTALL to y, then refer to Section 8.10, “Working with OpenStack Networking”.

8.9.1. Creating a Network

The nova command line interface provides facilities for creating a compute network.

Procedure 8.5. Creating a Compute Network

  1. Use the keystonerc_admin file to authenticate with the Identity service.
    $ source ~/keystonerc_admin
  2. Create a network that virtual machines can use. Do this once for the entire installation and not on each Compute node.
    $ nova network-create NETWORKNAME --fixed-range-v4=FIXEDRANGE_IP --bridge-interface=BRIDGE_INTERFACE --multi-host=MULTI_HOST

    Example 8.3. Creating a OpenStack Network using Compute Networking

    $ nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge-interface=br100 --multi-host=T
    You have successfully created a network using Compute networking that the virtual machines can use.