Created
June 23, 2016 17:43
-
-
Save anonymous/f58925db8db4d4ee9a89df8acf78c26d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
neutron net-create public1 --router:external --provider:physical_network physnet1 --provider:network_type flat | |
neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=10.160.9.40,end=10.160.9.49 public1 10.160.8.0/23 --gateway 10.160.8.1 | |
neutron net-create demo-net --provider:network_type vxlan | |
neutron subnet-create demo-net 172.25.0.0/24 --name demo-subnet --gateway 172.25.0.1 --dns-nameservers list=true 10.132.224.5 | |
neutron router-create demo-router | |
neutron router-interface-add demo-router demo-subnet | |
neutron router-gateway-set demo-router public1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment