Diskless computer booting from PXE using MikroTik as DHCP server

Booting to PXE (or iPXE) using dnsmasq is rather well documented also by Me ;-).

If You would like to use MikroTik it's not so easy (at least v6.43.2). I couldn't manage to boot iPXE using chainloading because of the infinite loop with the DHCP server.

Booting from PXE is also not so obvious. You cannot set option 66 (next-server/Server-Name) nor 67 (boot-file/Bootfile-Name) in "ip dhcp-server option". Instead set "Next Server" and "Boot File Name" in "ip dhcp-server network", so it should look like this:

[admin@MikroTik] > /ip dhcp-server network print detail
Flags: D - dynamic
 0   ;;; defconf
     address=192.168.1.0/24 gateway=192.168.1.15 netmask=24
     dns-server=192.168.1.28,192.168.1.15 wins-server="" ntp-server=""
     caps-manager="" domain="lan" next-server=192.168.1.28
     boot-file-name="pxelinux.0" dhcp-option="" dhcp-option-set=""

Kommentare

Bitte melden Sie sich Logan oder registrieren Sie sich um kommentieren zu können.

Just my blog...

Mon Di Mi Do Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
eZ Publish™ copyright © 1999-2025 eZ Systems AS