0

Is it possible to create a run another custom dhcp service on different UDP port.

For example port 70 and 71?

Therefore all my clients pre-configured to accept this instruction and if fails fall back to official dhcp port?

c2h2
  • 768
  • 2
  • 9
  • 20

1 Answers1

3

ISC dhcpd and dhclient both accept -p options to use a different port number (you'd have to check that all the clients you use support this). You would need to implement the fallback yourself though (i.e. create a wrapper script which launches dhclient on the custom port and then launches it on the standard port if it doesn't get a lease).

mgorven
  • 30,615
  • 7
  • 79
  • 122