VScaler: Adding provider (external) networks
Jump to navigation
Jump to search
First Provider Network
After kolla deploys successfully, you need to edit the /usr/share/kolla-ansible/init-runonce file to add the first provider (external) network.
Additional Provider Subnets
If the additional subnet is hosted on the same physical interface as the first one then run this script:
export EXT_NET_CIDR='185.93.31.32/27'
export EXT_NET_RANGE='start=185.93.31.34,end=185.93.31.62'
export EXT_NET_GATEWAY='185.93.31.33'
openstack subnet create --no-dhcp \
--allocation-pool ${EXT_NET_RANGE} --network ext-net \
--subnet-range ${EXT_NET_CIDR} --gateway ${EXT_NET_GATEWAY} ext-subnet2Where all the variables are for the new subnet and ext-net is the name of the first external network you've added with init-runonce (its name is public1 by default)