summaryrefslogtreecommitdiff
path: root/tests/failover/dhcp-2.cf
blob: 193c558bb5d85652d1a540ae4ea9564fe26bc99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
authoritative;

lease-file-name "dhcp-2.leases";
pid-file-name "dhcp-2.pid";
local-port 50000;

ddns-update-style none;

default-lease-time 600;
max-lease-time 600;

failover peer "foo" {
  secondary;
  address 204.152.187.41;
  port 51000;
  peer address 204.152.187.24;
  peer port 51000;
  max-response-delay 7;
  max-unacked-updates 10;
  mclt 100;
  load balance max seconds 2;
}

option space SUNW;
option SUNW.root-mount-options code 1 = text;
option SUNW.root-server-ip-address code 2 = ip-address;
option SUNW.root-server-hostname code 3 = text;
option SUNW.root-path-name code 4 = text;
option SUNW.swap-server-ip-address code 5 = ip-address;
option SUNW.swap-file-path code 6 = text;
option SUNW.boot-file-path code 7 = text;
option SUNW.posix-timezone-string code 8 = text;
option SUNW.boot-read-size code 9 = unsigned integer 16;
option SUNW.install-server-ip-address code 10 = ip-address;
option SUNW.install-server-hostname code 11 = text;
option SUNW.install-path code 12 = text;
option SUNW.sysid-config-file-server code 13 = text;
option SUNW.JumpStart-server code 14 = text;
option SUNW.terminal-name code 15 = text;

class "solaris-i86pc" {
  match if option vendor-class-identifier = "SUNW.i86pc";
  vendor-option-space SUNW;
  option SUNW.boot-file-path "/platform/i86pc/kernel/unix";
  option SUNW.root-path-name "/export/root/i86pc";
}

class "solaris-sun4u" {
  match if option vendor-class-identifier = "SUNW.Ultra-5_10";
  vendor-option-space SUNW;
  option SUNW.install-path "/export/2/s581_sparc";
  option SUNW.root-path-name "/export/2/s581_sparc/Solaris_8/Tools/Boot";
}

option domain-name "connectathon.org.";
option SUNW.root-server-ip-address 172.16.113.1;
option SUNW.root-server-hostname "sundhcp-server17-1";

key FOO {
  algorithm HMAC-MD5.SIG-ALG.REG.INT;
  secret ABCD;
}

zone BISBEE.FUGUE.COM. {
  primary 127.0.0.1;
  key FOO;
}

zone 17.127.10.in-addr.arpa. {
  primary 127.0.0.1;
  key FOO;
}

zone 0.0.10.in-addr.arpa. {
  primary 127.0.0.1;
  key FOO;
}

subnet 204.152.186.128 netmask 255.255.255.192 {
  not authoritative;
}

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 {
  pool {
    deny dynamic bootp clients;
    failover peer "foo";
    range 10.0.0.10 10.0.0.200;
  }
  option routers 10.0.0.1;
  option domain-name "bisbee.fugue.com";
  option domain-name-servers 10.0.0.1;
}