openstack Verified current stable Not installed? Cloud Infrastructure

Openstack / Create New Network

Create New Network

Creates a new network in OpenStack with the specified name.

$
Terminal
openstack network create <network_name>

When To Use

When expanding network architecture to accommodate new services or applications.

Pro Tip

Utilize `--provider-network` to create a network with additional configurations for VLANs or tenant segmentation.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
openstack network create <network_name>

Anatomy of Output

Understanding the result

+--------------------------------------+---------------------------------+ Creation Confirmation

Confirms successful creation of the new network.

| ID | net-new-01 | Network ID

Unique identifier for the newly created network.

| Name | new-network | Network Name

Name assigned to the new network.

| Status | ACTIVE | Network Status

Starting operational state of the new network.

+--------------------------------------+---------------------------------+ End Output

End of network creation log.

Troubleshooting

Common pitfalls

Network name already exists

Solution: Choose a different name for the new network.

Quota exceeded for networks

Solution: Review and free up resources or adjust relevant quotas in the project.

Invalid provider network configuration

Solution: Check the provided parameters against supported network configurations.

Command Breakdown

What each part is doing

openstack
Base Command
The executable that performs this operation. Here it runs Openstack before the shell applies any redirect operators.
<network_name>
network name
The value supplied for network name.

Alternative Approaches

Comparable commands in other tools

Alternative cloud infrastructure tools for the same job.