Hi,
I need to provision new and old thinclient and experimenting with DHCP Matcher. I followed this great tutorial https://dimitrije.website/posts/2024-03-25-homelab-netboot.html but I’m still out of luck.
/ip dhcp-server option
add name=boot-file-pxe-uefi code=67 value="s'ipxe.efi'"
add name=boot-file-pxe-bios code=67 value="s'undionly.kpxe'"
add name=next-server code=66 value="s'192.168.92.80'"
/ip dhcp-server option sets
add name=boot-pxe-uefi options=boot-file-pxe-uefi,next-server
add name=boot-pxe-bios options=boot-file-pxe-bios,next-server
/ip dhcp-server matcher
add name=if-client-arch-is-legacy-then-boot-bios server=dhcp1 address-pool=dhcp_pool0 option-set=boot-pxe-bios code=93 value="0x0000" matching-type=exact
add name=if-client-arch-is-uefi-then-boot-uefi server=dhcp1 address-pool=dhcp_pool0 option-set=boot-pxe-bios code=93 value="0x0007" matching-type=exact
But I’m still getting in DHCP logs:
My DHCP server doesn’t contain any next-server nor filename.
Rock.
next-server and boot-file-name is defined in the server options, not the dhcp options.
Thank you Patrik, then if I put them in DHCP options, how do I accomodate my different architectures (x64, ia32, BIOS, UEFI ) ? I thought matcher were a good way to do it.
Don't know how to deal with that, but i think the next server and boot-file-name is from legacy bootp and the dhcp options is from dhcp.
You may ask Mikrotik about how they think of the matching thing not including these options.
What unit do you have ?
Do you have some new units with container support, you maybe can use that to accomplish what you want.
I was also thinking of using the Mikrotik Router as a pxe pc bootable with a webserver support to transfer the iso image file, but they don't have any http file transver server support what i know of.
I have a old RB750GL and RB750Gr3(hEX), and thinking of using a usb stick with iso images, but this was not working with the RouterOS, but i think i can do it with burn the OpenWRT to the unit and get it working.
Pocket sized pxe server. For easy install PC's. And maybe install like iventoy.