This one time, at bandcamp : jumpstart-dhcp


< January 2006 >
SuMoTuWeThFrSa
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
293031    

Wed, 25 Jan 2006

Solaris Jumpstart Clients using ISC DHCPD

Took me a while to figure out why I couldn't get Solaris Jumpstart clients working off a Solaris based ISC DHCP install. Finally figured it out and here's the dhcpd.conf that I used :

# option definitions common to all supported networks...
ddns-update-style ad-hoc;
option domain-name "$DOMAIN";
option domain-name-servers $DNSIP;
                                                                                
option subnet-mask 255.255.0.0;
default-lease-time 600;
max-lease-time 7200;
                                                                                
# Jumpstart Support
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;
                                                                                
                                                                                
subnet 10.218.0.0 netmask 255.255.0.0 {
        range 10.218.80.56 10.218.80.56;
        option broadcast-address 10.218.255.255;
        option routers 10.218.100.250;
}


host jumpstart-client1 {
        hardware ethernet 0:3:ba:4c:ff:7e;
        fixed-address $CLIENT-IP;
        option host-name "jumpstart-client1";
        vendor-option-space SUNW;
        option SUNW.sysid-config-file-server "$JUMPSTART-SERVER-NAME:$SYSIDCFGDIR";
        option SUNW.JumpStart-server "$JUMPSTART-SERVER-NAME:$JUMPSTARTDIR";
        option SUNW.install-server-hostname "$INSTALL-SERVER-NAME";
        option SUNW.install-server-ip-address $INSTALL-SERVER-IP;
        option SUNW.install-path "$INSTALL-PATH";
        option SUNW.root-server-hostname "$INSTALL-SERVER";
        option SUNW.root-server-ip-address $INSTALL-SERVER-IP;
        option SUNW.root-path-name "$ROOT-PATH";
        next-server $TFTP-SERVER-IP;
}

Obviously, you'll need to edit all of the variables to match your own requirements (Anything starting with a $ will need to change).

It's the 'next-server' that's really the key that's missing from a lot of the other howto's which I found.

Hope it helps someone.  


These random machinations are brought to you by the letters R, S and S.