Atom feed of this document
  
 

 Advanced Networking operations

This table shows example Networking commands that enable you to complete advanced network operations:

Table 7.20. Advanced Networking operations
Operation Command
Creates a network that all tenants can use.
$ neutron net-create --shared public-net
Creates a subnet with a specified gateway IP address.
$ neutron subnet-create --gateway 10.0.0.254 net1 10.0.0.0/24
Creates a subnet that has no gateway IP address.
$ neutron subnet-create --no-gateway net1 10.0.0.0/24
Creates a subnet with DHCP disabled.
$ neutron subnet-create net1 10.0.0.0/24 --enable_dhcp False
Creates a subnet with a specified set of host routes.
$ neutron subnet-create test-net1 40.0.0.0/24 --host_routes type=dict list=true destination=40.0.1.0/24,nexthop=40.0.0.2
Creates a subnet with a specified set of dns name servers.
$ neutron subnet-create test-net1 40.0.0.0/24 --dns_nameservers list=true 8.8.8.7 8.8.8.8
Displays all ports and IPs allocated on a network.
$ neutron port-list --network_id net-id
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...