Created
March 16, 2017 10:31
-
-
Save anonymous/0e94505f55268a372caf2f3bdf125200 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
My VMs are on INTERNAL_NET1 created using following commands: | |
- openstack network create --provider-network-type vlan INTERNAL_NET1 | |
- openstack subnet create INTERNAL_SUBNET_1_1 --network INTERNAL_NET1 --subnet-range 192.168.2.0/24 | |
EXTERNAL_NET is created using following commands: | |
- neutron net-create --provider:physical_network=flat --provider:network_type=flat --shared --router:external=true GATEWAY_NET | |
- neutron subnet-create GATEWAY_NET 192.168.255.0/24 --name GATEWAY_SUBNET --gateway=192.168.255.1 --allocation-pool start=192.168.255.81,end=192.168.255.100 | |
Earlier I had tried --provider:physical_network=vlan --provider:network_type=vlan and things didn't work because lab n/w seems not expecting VLAN tagged packets. So, thinking of having flat n/w now. | |
Router is created and GW and interfaces are set using following commands: | |
- neutron router-create NEUTRON-ROUTER | |
- neutron router-gateway-set NEUTRON-ROUTER GATEWAY_NET | |
- neutron router-interface-add NEUTRON-ROUTER INTERNAL_SUBNET_1_1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment