Skip to content

Instantly share code, notes, and snippets.

@kmadac
Last active December 20, 2015 02:09
Show Gist options
  • Save kmadac/6054402 to your computer and use it in GitHub Desktop.
Save kmadac/6054402 to your computer and use it in GitHub Desktop.
Create quantum networks
quantum net-create public --router:external=True
quantum subnet-create public 192.168.122.0/24 --gateway 192.168.122.1 --allocation-pool start=192.168.122.170,end=192.168.122.180 --enable_dhcp False
quantum net-create private
quantum subnet-create net1 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8
quantum net-create private_storage
quantum subnet-create net1 10.1.0.0/24
quantum router-create router1
quantum router-interface-add router1 <subnet1-uuid>
quantum router-interface-add router1 <subnet2-uuid>
quantum router-gateway-set router1 <ext-net-id>
Allocate floating IP
http://docs.openstack.org/trunk/openstack-network/admin/content/demo_logical_network_config.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment