Use the IPv6 documentation prefix as the default cidr

Don't use a cidr which might be routable, instead use the
IPv6 documentation prefix which should be dropped and
filtered by routers according to RFC 3849.

Change-Id: I6f0ec34f7c2178a659d6119d2e33b09f135a8caf
This commit is contained in:
Brian Haley 2019-09-19 17:54:22 -04:00
parent bd6825a19f
commit 5d3e40183b
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@
#ipv4_prefixlen = 24 #ipv4_prefixlen = 24
# The CIDR block to allocate IPv6 subnets from (string value) # The CIDR block to allocate IPv6 subnets from (string value)
#ipv6_cidr = 2003::/48 #ipv6_cidr = 2001:db8::/48
# The mask bits for IPv6 subnets (integer value) # The mask bits for IPv6 subnets (integer value)
#ipv6_prefixlen = 64 #ipv6_prefixlen = 64

View File

@ -28,7 +28,7 @@ OPTIONS = [
default=24, default=24,
help="The mask bits for IPv4 subnets"), help="The mask bits for IPv4 subnets"),
cfg.StrOpt('ipv6_cidr', cfg.StrOpt('ipv6_cidr',
default='2003::/48', default='2001:db8::/48',
help="The CIDR block to allocate IPv6 subnets from"), help="The CIDR block to allocate IPv6 subnets from"),
cfg.IntOpt('ipv6_prefixlen', cfg.IntOpt('ipv6_prefixlen',
default=64, default=64,