]> git.ipfire.org Git - thirdparty/dhcp.git/blob - tests/failover/dhcp-1.cf
Make them work on my alpha.
[thirdparty/dhcp.git] / tests / failover / dhcp-1.cf
1 authoritative;
2
3 lease-file-name "dhcp-1.leases";
4 pid-file-name "dhcp-1.pid";
5 ddns-update-style none;
6 local-port 50002;
7
8 default-lease-time 600;
9 max-lease-time 600;
10
11 failover peer "foo" {
12 primary;
13 address 10.0.0.1;
14 port 519;
15 peer address 10.0.0.1;
16 peer port 520;
17 max-response-delay 7;
18 max-unacked-updates 10;
19 mclt 100;
20 hba ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:
21 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00;
22 load balance max seconds 2;
23 }
24
25 option space SUNW;
26 option SUNW.root-mount-options code 1 = text;
27 option SUNW.root-server-ip-address code 2 = ip-address;
28 option SUNW.root-server-hostname code 3 = text;
29 option SUNW.root-path-name code 4 = text;
30 option SUNW.swap-server-ip-address code 5 = ip-address;
31 option SUNW.swap-file-path code 6 = text;
32 option SUNW.boot-file-path code 7 = text;
33 option SUNW.posix-timezone-string code 8 = text;
34 option SUNW.boot-read-size code 9 = unsigned integer 16;
35 option SUNW.install-server-ip-address code 10 = ip-address;
36 option SUNW.install-server-hostname code 11 = text;
37 option SUNW.install-path code 12 = text;
38 option SUNW.sysid-config-file-server code 13 = text;
39 option SUNW.JumpStart-server code 14 = text;
40 option SUNW.terminal-name code 15 = text;
41
42 class "solaris-i86pc" {
43 match if option vendor-class-identifier = "SUNW.i86pc";
44 vendor-option-space SUNW;
45 option SUNW.boot-file-path "/platform/i86pc/kernel/unix";
46 option SUNW.root-path-name "/export/root/i86pc";
47 }
48
49 class "solaris-sun4u" {
50 match if option vendor-class-identifier = "SUNW.Ultra-5_10";
51 vendor-option-space SUNW;
52 option SUNW.install-path "/export/2/s581_sparc";
53 option SUNW.root-path-name "/export/2/s581_sparc/Solaris_8/Tools/Boot";
54 }
55
56 option domain-name "connectathon.org.";
57 option SUNW.root-server-ip-address 172.16.113.1;
58 option SUNW.root-server-hostname "sundhcp-server17-1";
59
60 key FOO {
61 algorithm HMAC-MD5.SIG-ALG.REG.INT;
62 secret ABCD;
63 }
64
65 zone BISBEE.FUGUE.COM. {
66 primary 127.0.0.1;
67 key FOO;
68 }
69
70 zone 17.127.10.in-addr.arpa. {
71 primary 127.0.0.1;
72 key FOO;
73 }
74
75 zone 0.0.10.in-addr.arpa. {
76 primary 127.0.0.1;
77 key FOO;
78 }
79
80 subnet 204.152.186.128 netmask 255.255.255.192 {
81 not authoritative;
82 }
83
84 subnet 10.0.0.0 netmask 255.255.255.0 {
85 pool {
86 deny dynamic bootp clients;
87 failover peer "foo";
88 range 10.0.0.10 10.0.0.200;
89 }
90 option routers 10.0.0.1;
91 option domain-name "bisbee.fugue.com";
92 option domain-name-servers 10.0.0.1;
93 }