There may be a be a bug in the dhcp server implementation used by Mikrotik. I have been trying to implement a FOG (Open Source Disk Imaging Server) to help with managing our workstations. When I used the dchp3-server daemon with Ubuntu and FOG it works perfectly fine with the following configuration:
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# This file was created by FOG
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
### This is the equivalent to option 66
next-server 10.22.1.27;
subnet 10.22.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 10.22.1.199 10.22.1.201;
default-lease-time 21600;
max-lease-time 43200;
option domain-name-servers 10.22.1.13;
option routers 10.22.1.253;
#### Equiv to Option 67
filename "pxelinux.0";
}
I have the following configuration setup in RouterOS:
/ip dhcp-server option
add code=66 name=TFTP-Server value=10.22.1.27
add code=67 name=PXE-FILE value=pxelinux.0
add code=60 name=Client-Redirect value=PXEClient
/ip dhcp-server network
add address=10.22.3.0/24 comment="" dhcp-option=\
Client-Redirect,TFTP-Server,PXE-FILE dns-server=\
10.22.3.2,10.22.0.2 gateway=10.22.3.1
When I review the logs in router OS with the dhcp topic and the debug prefix, I can see other options being sent, but 66 is never transmitted.
I can attach a supout.rif file if requested or I can e-mail it to support.
Best Regards,
Casey Annis
casey.annisATttiwirelessDOTcom