aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/IPv4NodeAddress.py4
-rw-r--r--resources/libraries/python/IPv6NodesAddr.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/resources/libraries/python/IPv4NodeAddress.py b/resources/libraries/python/IPv4NodeAddress.py
index 49ce41b25c..67599359c8 100644
--- a/resources/libraries/python/IPv4NodeAddress.py
+++ b/resources/libraries/python/IPv4NodeAddress.py
@@ -21,9 +21,7 @@ from ipaddress import IPv4Network
from resources.libraries.python.topology import Topology
# Default list of IPv4 subnets
-IPV4_NETWORKS = ['20.20.20.0/24',
- '10.10.10.0/24',
- '1.1.1.0/30']
+IPV4_NETWORKS = ['192.168.{}.0/24'.format(i) for i in range(1, 100)]
class IPv4NetworkGenerator(object):
diff --git a/resources/libraries/python/IPv6NodesAddr.py b/resources/libraries/python/IPv6NodesAddr.py
index 33192b878f..6bd28ca05c 100644
--- a/resources/libraries/python/IPv6NodesAddr.py
+++ b/resources/libraries/python/IPv6NodesAddr.py
@@ -21,7 +21,7 @@ from IPv6Setup import IPv6Networks
from topology import Topology
# Default list of available IPv6 networks
-IPV6_NETWORKS = ['db01::/64', 'db02::/64', 'db03::/64']
+IPV6_NETWORKS = ['3ffe:{0:04x}::/64'.format(i) for i in range(1, 100)]
def get_variables(nodes, networks=IPV6_NETWORKS):