authoritative; ddns-updates off; deny unknown-clients; allow bootp; deny duplicates; deny declines; deny client-updates; boot-unknown-clients off; ddns-update-style none; get-lease-hostnames on; one-lease-per-client on; use-host-decl-names on; # always-broadcast flag; # omapi-port port; # ping-check flag; # DHCP clients (PCs, HP printers, NCD X-terminals) send DHCPREQUEST every # 6 hours (renewal is half the offered default lease time of 12 hours). # Stop this nonsense with ten year lease times. max-lease-time 315360002; default-lease-time 315360001; min-lease-time 315360000; option domain-name "maths.usyd.edu.au"; option domain-name-servers 129.78.69.161, 129.78.69.160, 129.78.69.164; subnet 129.78.69.128 netmask 255.255.255.128 { # TOSCANA option subnet-mask 255.255.255.128; option routers 129.78.69.161, 129.78.69.185; } subnet 129.78.94.0 netmask 255.255.255.0 { # LIPARI option subnet-mask 255.255.255.0; option routers 129.78.94.193; } subnet 129.78.95.0 netmask 255.255.255.128 { # ADMIN option subnet-mask 255.255.255.128; option routers 129.78.95.1; } # HP JetDirect printers option T144 code 144 = text; group hpjd { # With "use-host-decl-names on;", the printer set its hostname to NPI4E8C73 # (apparently from the last three octets of the MAC address): seem unable # to cope with ordinary ASCII names, but expect the colon-hex encoded form. # Bug of the Jetdirect cards? See dhcp-options(5), dhcp-eval(5) and RFC1035. use-host-decl-names off; option host-name = host-decl-name; # Example bootptab block: #peripheral1:\ # :hn:ht=ether:vm=rfc1048:\ # :ha=08000903212F:\ # :ip=190.40.101.22:\ # :sm=255.255.255.0:\ # :gw=190.40.101.1:\ # :lg=190.40.101.3:\ # :T144="hpnp/peripheral1.cfg": # The file T144 is read via tftp. # An example of the contents of a T144 file is (not here). # They do not understand multiple gateways (as we use on Toscana); you may want # to set a single gateway (e.g. rome), which will then send things along. # Need to run timed (somewhere on the network, keep it all together on rome), # but you do not need a :ts=129.78.69.161: entry. (Wonder if they can use NTP, # would :nt=129.78.69.164: be any use?) option log-servers 129.78.69.160; option T144 "/usr/local/lib/HPJD/any.cfg"; # Those printers that use DHCP to boot, send another DHCPREQUEST in 6 hours # (see above) and go funny: maybe they re-configure the interface and drop # the open (though idle) connection (to port 9100). Maybe it is older # (pre-1998) printers only that have this problem (our LJ4100 does not seem # to be affected, I did not test the CLJ4550 or LJ2200s). - I do not know # why would a printer start using DHCP; you need a 'cold reset' to make it # revert to BOOTP. - Could we force them to use BOOTP, not DHCP? (Could we # set things up so as not to respond to DHCP, or respond BOOTP regardless?) # Does this help? (It certainly prevents the printer from seeing/accepting a # DCHPOFFER...) always-broadcast on; # Should we use #option T151 "BOOTP-ONLY"; # ? group hpjd-toscana { option routers 129.78.69.161; host fylw { hardware ethernet 00:60:b0:ba:b8:79; fixed-address 129.78.69.174; } # Old f5lw: was hanging often, retired on 6 Sep 02 # host oldf5lw { hardware ethernet 00:60:b0:ba:d8:3a; fixed-address 129.78.69.181; } host aolw { hardware ethernet 00:01:e6:37:d2:e7; fixed-address 129.78.69.188; option T144 "/usr/local/lib/HPJD/any4100.cfg"; } # 00:30:c1:d4:f2:c7 was p6lw until 6 Sep 02, then moved to 533 to become f5lw host f5lw { hardware ethernet 00:30:c1:d4:f2:c7; fixed-address 129.78.69.181; option T144 "/usr/local/lib/HPJD/any4050.cfg"; } host p6lw { hardware ethernet 00:01:e6:74:48:fb; fixed-address 129.78.69.241; option T144 "/usr/local/lib/HPJD/any4100.cfg"; } host colw { hardware ethernet 00:01:e6:4e:8c:73; fixed-address 129.78.69.184; option T144 "/usr/local/lib/HPJD/any4100.cfg"; } host mslw { hardware ethernet 00:10:83:a0:fe:3d; fixed-address 129.78.69.183; option T144 "/usr/local/lib/HPJD/any4050.cfg"; } } group hpjd-admin { host otlw { hardware ethernet 00:60:b0:be:d2:48; fixed-address 129.78.95.21; } host djlw { hardware ethernet 00:60:b0:be:02:93; fixed-address 129.78.95.22; } } group hpjd-lipari { host gllw { hardware ethernet 00:01:e6:3c:c5:70; fixed-address 129.78.94.201; option T144 "/usr/local/lib/HPJD/any4100.cfg"; } host njlw { hardware ethernet 00:01:e6:3a:95:69; fixed-address 129.78.94.234; option T144 "/usr/local/lib/HPJD/any4100.cfg"; } } }