E
E
Eugene2019-09-02 11:30:53
DHCP
Eugene, 2019-09-02 11:30:53

DHCP option 67 for each Lease?

Good afternoon!
Mikrotik RB3011
Software - 6.44.3
Task:
On Mikrotik it has the role of a DHCP server. The client, depending on the MAC address, downloads its personal image from a common TFTP server on the network (the client and the TFTP server are on different subnets).
Problem:
1. In the DHCP --> Network settings, the following options are specified for the subnet: "Next Servers" - 2.2.2.2. and "Boot File Name" - test.nbi.zpxe - in this configuration, the client receives and successfully loads the image, but as it was said in the task, there are many clients and each of them has its own image.
2. I remove the option "Boot File Name". I go to the "Options" tab and create a DHCP option - code - 67, Value - 'test.nbi.zpxe' (s'test.nbi.zpxe' - tried)
Further in DHCP Lease I assign the above option to the client - and nothing works.
The client connects to TFTP but cannot download the image.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-09-02
@Tabletko

Look at logs on tftp what the client requests. And check the permissions on the file that the client is trying to download.
If the client requests a file like cfgXXXXXXXXXX.file (where XXXXXXXXXX is the MAC address of the client), then in option 67 you need to specify the path, not a specific file
option 66 - is responsible for the tftp address of the server
option 67 - is responsible for the name of the boot file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question