Options are sets correctly, and 67 option (bootfile name) works properly, but 66 option just ignored.
For example:
It is working if I set next-server option for all network:
Code: Select all
/ip dhcp-server network
add address=192.168.0.0/22 dns-server=192.168.1.10 gateway=192.168.1.1 netmask=22 next-server=192.168.1.51'
Code: Select all
/ip dhcp-server option
add code=67 name=boot-file value="s'/pxelinux.0'"
add code=66 name=next-server value="s'192.168.1.51'"
According my DHCP-Server log, options are sends correctly, and 67 option (bootfile name) works properly, but 66 option just ignored by clients.
In first case ( next-server per all network ) it changes siaddr option too, and it works fine.
But in second case ( next-server as 66 option ) siaddr remains the same and equals dhcp server address, it is not work. Clients wants to boot from siaddr, not from 66 option.
So I have next question is the any way to set siaddr option per client not for all network?