[SOLVED] DHCP config & PXE boot from external tftp server

Hello.

Please help me config DHCP on TP-Link Archer C7 v2 with LEDE v17.01.2 for LAN boot from external tftp server in same LAN:

What I'm doing wrong?
In LEDE LUCI GUI

  1. Go to "Interfaces - LAN > DHCP Server > Advanced Settings:"
  2. Add to "DHCP-Options" 3 lines:
    2.1) 66,name of external tftp server
    2.2.) 67,pxelinux.0
    2.3) 150,ip of external tftp server
  3. Then try LAN boot from notebook over LAN cable and see:
    Boot Agent PXE found client IP. Mask, dhcp Ip and gateway. A few seconds "thinks" and report "PXE-E32: TFTP open timeot, PXE-M0F: Exiting Intel Boot Agent."

This external tftp server worked with OpenWRT.

Thanks!

I found a solution through the command line, but not through the LEDE GUI:

  1. connect to router by SSH client (PuTTY for example)
  2. in command prompt (under 'root' user) type:
    uci add_list dhcp.@dnsmasq[0].dhcp_boot='pxelinux.0,<name of external tftp pxe server>,<IP of external tftp pxe server'
    uci commit dhcp
1 Like

DHCP Option 150 is not used and supported in PXE 2.1 you have to use option 66 for external TFTP servers. You have to use the IP of the tftp server in option 66.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.