NethServer Version: 7
Module: DHCP
Hello everyone!
I would like to set a different TFTP server in the DHCP than the one in the net server, but I can’t manage it.
The other TFTP server is located on a Synology NAS and is configured and started:
$ tftp 172.16.1.196
tftp> status
Connected to 172.16.1.196.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp>
In the web interface I have entered the IP address in the settings of the DHCP server in the form at the location of the TFTP server:
I also executed the following commands on the net server:
$ config setprop dhcp tftp-status disabled
$ signal-event nethserver-dnsmasq-save
With dhcpdump I see that the right DHCP options are being sent:
TIME: 2018-02-09 08:38:05.088
IP: 172.16.4.1 (00:80:41:ae:fd:7e) > 172.16.1.167 (8:0:27:b0:f2:55)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 1bb64129
SECS: 14
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 172.16.1.167
SIADDR: 172.16.4.1
GIADDR: 0.0.0.0
CHADDR: 08:00:27:b0:f2:55:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 5 (DHCPACK)
OPTION: 54 ( 4) Server identifier 172.16.4.1
OPTION: 51 ( 4) IP address leasetime 600 (10m)
OPTION: 67 ( 11) Bootfile name pxelinux.0
OPTION: 58 ( 4) T1 300 (5m)
OPTION: 59 ( 4) T2 525 (8m45s)
OPTION: 1 ( 4) Subnet mask 255.255.240.0
OPTION: 28 ( 4) Broadcast address 172.16.15.255
OPTION: 15 ( 13) Domainname net.local
OPTION: 66 ( 13) TFTP server name 172.16.1.196
OPTION: 6 ( 4) DNS server 172.16.4.1
OPTION: 3 ( 4) Routers 172.16.4.1
I started a virtual machine and connected it to the network via a network bridge. The PXE boot menu from the Nethserver still appears there, and besides, the dnsmasq doesn’t seem to work so well anymore.
Can someone help me with my problem? Am I missing something? Is the configuration correct?
TIA