This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding "option" lines in DHCP Server

We would like to add two "option" lines to ASL v5.012 (and just tried with 5.013 as well) DHCP server in order to enable DHCP clients to perform a netowork boot from a TFTP server.

option bootfile-name mba.exe;
option tftp-server-name 10.200.1.200; 
 
We appended them to the end of 
/var/sec/chroot-dhcps/etc/dhcpd.conf-default
and then disabled and re-enabled the DHCP server in the Webadmin interface. Unfortunately, then the DHCP server does not reply to any DHCP requests anymore!?

The resulting /var/sec/chroot-dhcps/etc/dhcpd.conf is appended to the end of this message below.

Questions:
1. Which DHCP server does ASL v5 actually use, e.g. are the two labels "bootfile-name" (for option 67) "tftp-server-name" (for option 60) in the additional optional lines actually correct & supported?
2. Is there any way to make sure that the two additional option lines end up within "group  {}"  statement, e.g.
group {
  subnet 10.200.1.0 netmask 255.255.255.0 {
  ...
  }
option domain-name-servers 10.200.1.254;
option routers 10.200.1.254;
option bootfile-name mba.exe;
option tftp-server-name 10.200.1.200; 
 
}
We tried a number of ways of placing the two lines in the filr dhcpd.conf-default, but did not manage to have them ending up within the group {} statement of the file dhcpd.conf.

Thanks in advance for any hints,
Rolf


#
# This is the default configfile of the dhcpd server
#

allow unknown-clients;

# deny boot and booting from this dhcp server
deny bootp;
allow booting;

# deny declines to prevent denial of service
deny declines;

# Lease times
# 600s = 5m
# 14400s = 4h
# 86400 = 1d
# 172800 = 2d
max-lease-time 172800;
default-lease-time 86400;
min-lease-time 600;

# DDNS handling as always
ddns-update-style ad-hoc;

local-port 67;
log-facility daemon;

# To check if a specific ip address of the subnet is active
# do a ping check before assigning an ip adress
ping-checks;

# only on lease per client is allowed
one-lease-per-client on;

option bootfile-name mba.exe;
option tftp-server-name 10.200.1.200; 
 

group {
  subnet 10.200.1.0 netmask 255.255.255.0 {
     option subnet-mask 255.255.255.0;
     option broadcast-address 10.200.1.255;
     range 10.200.1.1 10.200.1.199;
  }
  host 10_200_1_200 {
    hardware ethernet 00:0E:7F:F5:2C:8F;
    fixed-address 10.200.1.200;
  }
option domain-name-servers 10.200.1.254;
option routers 10.200.1.254;

option netbios-node-type 1;

}


This thread was automatically locked due to age.
Parents Reply Children
No Data