From 083335faeb91bc6ed30304f68614cbb3ca631624 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 24 Apr 2001 00:44:41 +0000 Subject: [PATCH] Update for testing in RWC. --- tests/failover/dhcp-1.cf | 11 ++++++++++- tests/failover/dhcp-2.cf | 13 +++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/tests/failover/dhcp-1.cf b/tests/failover/dhcp-1.cf index 3fb46a504..2cd009db2 100644 --- a/tests/failover/dhcp-1.cf +++ b/tests/failover/dhcp-1.cf @@ -81,7 +81,16 @@ subnet 204.152.186.128 netmask 255.255.255.192 { not authoritative; } -subnet 204.152.187.0 netmask 255.255.255.0 { +shared-network { + subnet 204.152.187.0 netmask 255.255.255.0 { + } + subnet 10.0.1.0 netmask 255.255.255.0 { + pool { + deny dynamic bootp clients; + failover peer "foo"; + range 10.0.1.10 10.0.1.200; + } + } } subnet 10.0.0.0 netmask 255.255.255.0 { diff --git a/tests/failover/dhcp-2.cf b/tests/failover/dhcp-2.cf index 11ebd6302..193c558bb 100644 --- a/tests/failover/dhcp-2.cf +++ b/tests/failover/dhcp-2.cf @@ -11,7 +11,7 @@ max-lease-time 600; failover peer "foo" { secondary; - address 204.152.187.2; + address 204.152.187.41; port 51000; peer address 204.152.187.24; peer port 51000; @@ -80,7 +80,16 @@ subnet 204.152.186.128 netmask 255.255.255.192 { not authoritative; } -subnet 204.152.187.0 netmask 255.255.255.0 { +shared-network { + subnet 204.152.187.0 netmask 255.255.255.0 { + } + subnet 10.0.1.0 netmask 255.255.255.0 { + pool { + deny dynamic bootp clients; + failover peer "foo"; + range 10.0.1.10 10.0.1.200; + } + } } subnet 10.0.0.0 netmask 255.255.255.0 { -- 2.47.3