Hi, I have problem with MikroTik RB951G-2HnD and routeros version 6.40.3
When i set “next-server” & “boot file name” options in directly DHCP server options, than all works fine.
But i want set TFTP server settings only for some clients and i want to set this settings via DHCP options (66 and 67) for this clients. In this way client receive only option 67.
TFTP server is same that siaadr.
How i can do it via dhcp options.
Work config example:
/ip dhcp-server option
add code=66 name=option66 value="'192.168.1.111'"
add code=67 name=option67 value="s'pxelinux.0'"
/ip pool
add name=pool1 ranges=192.168.1.50-192.168.1.100
/ip dhcp-server
add address-pool=pool1 disabled=no interface=ether1 name=server1
/ip address
add address=192.168.1.1 interface=ether1 network=192.168.1.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 boot-file-name=pxelinux.0 dns-server=192.168.1.1 \
gateway=192.168.1.1 netmask=24 next-server=192.168.1.111
This method not work
/ip dhcp-server option
add code=66 name=option66 value="'192.168.1.111'"
add code=67 name=option67 value="s'pxelinux.0'"
/ip pool
add name=pool1 ranges=192.168.1.50-192.168.1.100
/ip dhcp-server
add address-pool=pool1 disabled=no interface=ether1 name=server1
/ip address
add address=192.168.1.1 interface=ether1 network=192.168.1.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 dhcp-option=option66,option67 dns-server=192.168.1.1 gateway=192.168.1.1 netmask=24