Created
August 14, 2016 00:12
-
-
Save cloudnull/4e34276a8e690fb54146d03a73ec44b4 to your computer and use it in GitHub Desktop.
creaet ipv6 network and subnet
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
# 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