2.201. openstack network create


usage: openstack network create [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX]
                                [--share | --no-share] [--enable | --disable]
                                [--project <project>]
                                [--project-domain <project-domain>]
                                [--availability-zone-hint <availability-zone>]
                                [--enable-port-security | --disable-port-security]
                                [--external | --internal]
                                [--default | --no-default]
                                [--provider-network-type <provider-network-type>]
                                [--provider-physical-network <provider-physical-network>]
                                [--provider-segment <provider-segment>]
                                [--transparent-vlan | --no-transparent-vlan]
                                <name>
Copy to Clipboard Toggle word wrap
Create new network

Positional arguments

<name>


        New network name

Optional arguments

-h, --help


        show this help message and exit

--share


        Share the network between projects

--no-share


        Do not share the network between projects

--enable


        Enable network (default)

--disable


        Disable network

--project <project>


        Owner's project (name or ID)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.

--availability-zone-hint <availability-zone>


      Availability Zone in which to create this network
      (Network Availability Zone extension required, repeat
      option to set multiple availability zones)

--enable-port-security


      Enable port security by default for ports created on
      this network (default)

--disable-port-security


      Disable port security by default for ports created on
      this network

--external


        Set this network as an external network (external-net
      extension required)

--internal


        Set this network as an internal network (default)

--default


        Specify if this network should be used as the default
      external network

--no-default


        Do not use the network as the default external network
      (default)

--provider-network-type <provider-network-type>


      The physical mechanism by which the virtual network is
      implemented. The supported options are: flat, geneve,
      gre, local, vlan, vxlan.

--provider-physical-network <provider-physical-network>


      Name of the physical network over which the virtual
      network is implemented

--provider-segment <provider-segment>


      VLAN ID for VLAN networks or Tunnel ID for
      GENEVE/GRE/VXLAN networks

--transparent-vlan


        Make the network VLAN transparent

--no-transparent-vlan


      Do not make the network VLAN transparent

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top