]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update for testing in RWC.
authorTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:44:41 +0000 (00:44 +0000)
committerTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:44:41 +0000 (00:44 +0000)
tests/failover/dhcp-1.cf
tests/failover/dhcp-2.cf

index 3fb46a50437043c411c6d0290af69b8b73dc8ae0..2cd009db23e6f0b263745fd3bf16251b5eb76049 100644 (file)
@@ -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 {
index 11ebd63026cb6c617086d289d3a098ec72946b9e..193c558bb5d85652d1a540ae4ea9564fe26bc99a 100644 (file)
@@ -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 {