April 2017
Intermediate to advanced
470 pages
11h 12m
English
Now that we have a clear understanding of the virtual networks, we can start creating virtual networks. Creating virtual networks can be performed using the following Neutron command line:
# neutron net-create network1
To create a subnet associated with this virtual network, use the subnet-create argument in the Neutron command line. To specify the gateway address, use the --gateway option. Use the --disable-dhcp option to disable the DHCP service for the subnet. It is also possible to set the name servers for the subnet up to five per subnet using the --dns-nameserver option:
# neutron subnet-create --disable-dhcp --gateway 192.168.20.100 --dns-nameserver 192.168.20.100 network1 192.168.20.0/24
Read now
Unlock full access