diff --git a/doc/install-guide/section_neutron-initial-networks.xml b/doc/install-guide/section_neutron-initial-networks.xml
index cdd217c29c..c5027b7045 100644
--- a/doc/install-guide/section_neutron-initial-networks.xml
+++ b/doc/install-guide/section_neutron-initial-networks.xml
@@ -82,9 +82,9 @@
To create a subnet on the external network
Create the subnet:
- $ neutron subnet-create ext-net --name ext-subnet \
+ $ neutron subnet-create ext-net EXTERNAL_NETWORK_CIDR --name ext-subnet \
--allocation-pool start=FLOATING_IP_START,end=FLOATING_IP_END \
- --disable-dhcp --gateway EXTERNAL_NETWORK_GATEWAY EXTERNAL_NETWORK_CIDR
+ --disable-dhcp --gateway EXTERNAL_NETWORK_GATEWAY
Replace FLOATING_IP_START and
FLOATING_IP_END with the first and last
IP addresses of the range that you want to allocate for floating IP
@@ -98,9 +98,9 @@
For example, using 203.0.113.0/24 with
floating IP address range 203.0.113.101 to
203.0.113.200:
- $ neutron subnet-create ext-net --name ext-subnet \
+ $ neutron subnet-create ext-net 203.0.113.0/24 --name ext-subnet \
--allocation-pool start=203.0.113.101,end=203.0.113.200 \
- --disable-dhcp --gateway 203.0.113.1 203.0.113.0/24
+ --disable-dhcp --gateway 203.0.113.1
Created a new subnet:
+-------------------+------------------------------------------------------+
| Field | Value |
@@ -164,15 +164,15 @@
To create a subnet on the tenant network
Create the subnet:
- $ neutron subnet-create demo-net --name demo-subnet \
- --gateway TENANT_NETWORK_GATEWAY TENANT_NETWORK_CIDR
+ $ neutron subnet-create demo-net TENANT_NETWORK_CIDR \
+ --name demo-subnet --gateway TENANT_NETWORK_GATEWAY
Replace TENANT_NETWORK_CIDR with the
subnet you want to associate with the tenant network and
TENANT_NETWORK_GATEWAY with the gateway
you want to associate with it, typically the ".1" IP address.
Example using 192.168.1.0/24:
- $ neutron subnet-create demo-net --name demo-subnet \
- --gateway 192.168.1.1 192.168.1.0/24
+ $ neutron subnet-create demo-net 192.168.1.0/24 \
+ --name demo-subnet --gateway 192.168.1.1
Created a new subnet:
+-------------------+------------------------------------------------------+
| Field | Value |