Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Forked from cloudnull/neutron-ipv6-network.sh
Created October 13, 2016 08:11
Show Gist options
  • Save evrardjp/cf83fe309113e19872b06c0d76f11075 to your computer and use it in GitHub Desktop.
Save evrardjp/cf83fe309113e19872b06c0d76f11075 to your computer and use it in GitHub Desktop.
creaet ipv6 network and subnet
# Create networks
neutron net-create --shared \
--router:external=True \
--provider:physical_network vlan \
--provider:network_type vlan \
--provider:segmentation_id 1100 \
"GATEWAY_NET_V6"
neutron subnet-create --dns-nameserver '8.8.8.8' \
--dns-nameserver '8.8.4.4' \
--name "GATEWAY_SUBNET_V6V4" \
"GATEWAY_NET_V6" \
'10.51.50.0/16'
neutron subnet-create --ip-version=6 \
--ipv6-address-mode=dhcpv6-stateless \
--dns-nameserver '2001:4860:4860::8888' \
--dns-nameserver '2001:4860:4860::8844' \
--name "GATEWAY_SUBNET_V6V6" \
"GATEWAY_NET_V6" \
'2001:4800:1ae1:18::0/64'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment