openstack network create Pub_Net --external --share --default \
--provider-network-type vlan --provider-segment 200 --provider-physical-network physnet1
openstack subnet create Pub_Subnet --allocation-pool start=10.141.40.10,end=10.141.40.20 \
--subnet-range 10.141.40.0/26 --no-dhcp --gateway 10.141.40.1 \
--network Pub_Net
openstack network create Network1 --internal
openstack subnet create Subnet1 \
--allocation-pool start=192.168.0.10,end=192.168.0.199 \
--subnet-range 192.168.0.0/24 \
--gateway 192.168.0.1 --dns-nameserver 10.0.0.3 \
--network Network1
openstack router create Router1
openstack router add subnet Router1 Subnet1
openstack router set Router1 --external-gateway Pub_Net