This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: DHCP config script, note you can move the IP address of DHCP server.

Part Number: AM623

Tool/software:

Just a comment on DHCP server IP address - you can move it. But next-server should point at the DHCP server.

Hope it helps someone.

Using isc-dhcp-server, WSL2 (port mirroring, experimental, private network for Windows Defender, initd for tftp):

On a hunch I moved my DHCP Server/TFTP server to something other than 192.168.1.1

CHANGE:

 next-server 192.168.1.1

TO:

 next-server 192.168.1.2

Confirmed hunch:

lists.isc.org/.../003089.html

man dhcpd.conf

       next-server server-name;

       The next-server statement is  used  to  specify  the  host
       address  of  the  server  from which the initial boot file
       (specified in the filename statement)  is  to  be  loaded.
       Server-name  should  be  a  numeric IP address or a domain
       name.

OR specify TFTP server directly
man dhcp-options

     option tftp-server-name text;

       This option is used to identify a TFTP server and, if sup-
       ported  by  the client, should have the same effect as the
       server-name declaration.   BOOTP clients are  unlikely  to
       support  this  option.  Some DHCP clients will support it,
       and others actually require it.

WSL2 Aside:

For WSL2 - trick was private network, port mirroring, experimental see PS> commands:

Get-NetConnectionProfile

Set-NetConnectionProfile  -InterfaceIndex 5 -NetworkCategory Private

This was necessary for DEV machine to serve DHCP/TFPT info, and Wireless router to still be the gateway and canonical address 192.168.1.1