1authoritative; 2 3class "even" { 4 match if ((extract-int (suffix 5 (pick-first-value (option dhcp-client-identifier, 6 hardware), 1), 8) % 2) = 0); 7} 8class "odd" { 9 match if ((extract-int (suffix 10 (pick-first-value (option dhcp-client-identifier, 11 hardware), 1), 8) % 2) = 1); 12} 13 14lease-file-name "dhcp-2.leases"; 15pid-file-name "dhcp-2.pid"; 16local-port 50000; 17remote-port 50001; 18omapi-port 50005; 19 20ddns-update-style none; 21 22default-lease-time 600; 23max-lease-time 600; 24 25failover peer "foo" { 26 secondary; 27 address 10.0.0.1; 28 port 51001; 29 peer address 10.0.0.1; 30 peer port 51000; 31 max-response-delay 60; 32 max-unacked-updates 10; 33 mclt 100; 34 load balance max seconds 2; 35} 36 37option space SUNW; 38option SUNW.root-mount-options code 1 = text; 39option SUNW.root-server-ip-address code 2 = ip-address; 40option SUNW.root-server-hostname code 3 = text; 41option SUNW.root-path-name code 4 = text; 42option SUNW.swap-server-ip-address code 5 = ip-address; 43option SUNW.swap-file-path code 6 = text; 44option SUNW.boot-file-path code 7 = text; 45option SUNW.posix-timezone-string code 8 = text; 46option SUNW.boot-read-size code 9 = unsigned integer 16; 47option SUNW.install-server-ip-address code 10 = ip-address; 48option SUNW.install-server-hostname code 11 = text; 49option SUNW.install-path code 12 = text; 50option SUNW.sysid-config-file-server code 13 = text; 51option SUNW.JumpStart-server code 14 = text; 52option SUNW.terminal-name code 15 = text; 53 54class "solaris-i86pc" { 55 match if option vendor-class-identifier = "SUNW.i86pc"; 56 vendor-option-space SUNW; 57 option SUNW.boot-file-path "/platform/i86pc/kernel/unix"; 58 option SUNW.root-path-name "/export/root/i86pc"; 59} 60 61class "solaris-sun4u" { 62 match if option vendor-class-identifier = "SUNW.Ultra-5_10"; 63 vendor-option-space SUNW; 64 option SUNW.install-path "/export/2/s581_sparc"; 65 option SUNW.root-path-name "/export/2/s581_sparc/Solaris_8/Tools/Boot"; 66} 67 68option domain-name "connectathon.org."; 69option SUNW.root-server-ip-address 172.16.113.1; 70option SUNW.root-server-hostname "sundhcp-server17-1"; 71 72class "sniffer" { 73 match if option host-name = "sniffer"; 74} 75 76key FOO { 77 algorithm HMAC-MD5.SIG-ALG.REG.INT; 78 secret ABCD; 79} 80 81zone BISBEE.FUGUE.COM. { 82 primary 127.0.0.1; 83 key FOO; 84} 85 86zone 17.127.10.in-addr.arpa. { 87 primary 127.0.0.1; 88 key FOO; 89} 90 91zone 0.0.10.in-addr.arpa. { 92 primary 127.0.0.1; 93 key FOO; 94} 95 96subnet 204.152.186.128 netmask 255.255.255.192 { 97 not authoritative; 98} 99 100shared-network LOCAL { 101 subnet 127.0.0.0 netmask 255.255.255.0 { 102 } 103 subnet 10.0.2.0 netmask 255.255.255.0 { 104 pool { 105 deny dynamic bootp clients; 106 failover peer "foo"; 107 range 10.0.2.100 10.0.2.200; 108 } 109 } 110} 111 112shared-network 187-NET { 113 subnet 204.152.187.0 netmask 255.255.255.0 { 114 } 115 subnet 205.140.116.224 netmask 255.255.255.248 { 116 } 117 subnet 10.0.1.0 netmask 255.255.255.0 { 118 pool { 119 deny dynamic bootp clients; 120 failover peer "foo"; 121 range 10.0.1.10 10.0.1.200; 122 } 123 } 124} 125 126subnet 10.0.0.0 netmask 255.255.255.0 { 127 pool { 128 deny dynamic bootp clients; 129 allow members of "even"; 130 option impress-servers 10.0.0.0; 131 failover peer "foo"; 132 range 10.0.0.10 10.0.0.54; 133 range 10.0.0.100 10.0.0.149; 134 } 135 pool { 136 deny dynamic bootp clients; 137 allow members of "odd"; 138 failover peer "foo"; 139 option impress-servers 10.0.0.1; 140 range 10.0.0.55 10.0.0.99; 141 range 10.0.0.150 10.0.0.200; 142 } 143 pool { 144 deny dynamic bootp clients; 145 allow members of "sniffer"; 146 failover peer "foo"; 147 range 10.0.0.9 10.0.0.9; 148 } 149 option routers 10.0.0.1; 150 option domain-name "bisbee.fugue.com"; 151 option domain-name-servers 10.0.0.1; 152} 153