Skip to content

Instantly share code, notes, and snippets.

@cloudnull
Created August 14, 2016 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cloudnull/4e34276a8e690fb54146d03a73ec44b4 to your computer and use it in GitHub Desktop.
Save cloudnull/4e34276a8e690fb54146d03a73ec44b4 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