Advertisement
Guest User

Untitled

a guest
Mar 5th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. openstack network create --external --provider-physical-network physnet1 --provider-network-type flat public1
  2.  
  3. openstack subnet create --no-dhcp --allocation-pool start=192.168.1.150,end=192.168.1.200 --network public1 --subnet-range 192.168.1.0/24 --gateway 192.168.1.1 public1-subnet
  4.  
  5. openstack network create --provider-network-type vxlan demo-net
  6. openstack subnet create --subnet-range 10.0.0.0/24 --network demo-net \
  7. --gateway 10.0.0.1 --dns-nameserver 8.8.8.8 demo-subnet
  8.  
  9. openstack router create demo-router
  10. openstack router add subnet demo-router demo-subnet
  11. openstack router set --external-gateway public1 demo-router
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement