tests: separate the provided routes from the client's IP to avoid collisions

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-22 15:33:14 +02:00
parent f7c9079e82
commit c89aec1b2a
7 changed files with 9 additions and 10 deletions

View File

@@ -7,9 +7,8 @@ test Cleartext-Password := "test"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Route = 192.168.100.5/24,
Framed-Route = 192.168.1.0/8,
Framed-IPv6-Prefix = "2000:0:0:106::/64",
Framed-IP-Address = 192.168.1.190,
Framed-IP-Address = 192.168.55.190,
Framed-IP-Netmask = 255.255.255.0,
Framed-Routing = Broadcast-Listen,
Framed-MTU = 1500,
@@ -87,7 +86,8 @@ test8 Cleartext-Password := "test8"
testtime Cleartext-Password := "test"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 192.168.1.192,
Framed-IP-Address = 192.168.66.192,
Framed-Route = 192.168.67.0/24,
Framed-IP-Netmask = 255.255.255.0,
Framed-MTU = 1500,
Session-Timeout = 120,

View File

@@ -252,7 +252,7 @@ ping-leases = false
#
# To set the server as the default gateway for the client just
# comment out all routes from the server.
route = 192.168.56.0/255.255.255.0
route = 10.98.224.0/24
#route = 192.168.5.0/255.255.255.0
route = fd91:6d87:7341:dc6b::/64

View File

@@ -254,8 +254,7 @@ ping-leases = false
#
# To set the server as the default gateway for the client just
# comment out all routes from the server.
route = 192.168.66.0/255.255.255.0
route = 192.168.155.0/255.255.255.0
route = 10.154.92.0/24
#route = 192.168.5.0/255.255.255.0
route = fd91:6d87:7341:dd6b::/64

View File

@@ -253,7 +253,7 @@ ping-leases = false
#
# To set the server as the default gateway for the client just
# comment out all routes from the server.
route = 192.168.55.0/255.255.255.0
route = 10.209.209.0/255.255.255.0
#route = 192.168.5.0/255.255.255.0
route = fd91:6d87:7341:dd6b::/64

View File

@@ -260,7 +260,7 @@ ping-leases = false
#
# To set the server as the default gateway for the client just
# comment out all routes from the server.
route = 192.168.99.0/255.255.255.0
route = 10.128.222.0/24
#route = 192.168.5.0/255.255.255.0
#route = fef4:db8:1000:1001::/64

View File

@@ -249,7 +249,7 @@ ping-leases = false
#
# To set the server as the default gateway for the client just
# comment out all routes from the server.
route = 192.168.1.0/255.255.255.0
route = 10.44.59.0/24
#route = 192.168.5.0/255.255.255.0
route = fd91:6d87:7341:db6a::/64

View File

@@ -73,7 +73,7 @@ if test $? != 0;then
fi
#check whether the routes have been applied
retrieve_route_info testtime '192.168.155.0/255.255.255.0'
retrieve_route_info testtime '192.168.67.0/24'
echo "Waiting for accounting report"