wiki:SaliUsage/DhcpOptions

Version 6 (modified by bas, 14 years ago) (diff)

--

DhcpOptions

Just like SystemImager, Sali also uses dhcp options for setting variables. But Sali uses a different range. According to networksorcey.com range 224-254 is for private use. So ideal for Sali. The table here below shows the current used DhcpOptions by Sali.

code code hex name type param patched
224 e0 saliimgsrv ip-adress $IMAGESERVER yes

To use our dhcp options with udhcpc a patch must be applied to the busybox source.

ISC DHCP server configuration

Add these line to dhcpd.conf to support the new SALI image server dhcp option:

## Support for the SALI and the 'old' imageserver settings
#
option option-140 code 140 = text;
option sali-imgsrv code 224 = ip-address;


# Admin network
#
subnet 192.168.144.0 netmask 255.255.255.0 {

  ##  option-140 is the IP address of your SystemImager server
  #    sali-imgsrv is the new setting for the Systemimager server
  #
  option sali-imgsrv 192.168.146.10;
  option option-140 "192.168.146.10";
  next-server 192.168.146.10;

....