-1

I configured an access point with custom DNS on my raspberry pi according to the official documentation: https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md

Now I want to assign a fixed IP address to one of my clients via the installed dhcp/dnsmasq service (on my access point). What content do I have to add to which file?

mleister
  • 1,697
  • 2
  • 20
  • 46

1 Answers1

1

I think /etc/dhcpcd.conf is for setting dhcp roules for raspberry network interfaces as client not as AP. See this question for further details.

Try to add this line to /etc/dnsmasq.conf please:

dhcp-host=[MAC ADDRESS],[NAME],[STATIC IP ADDRESS]

EDIT1: tested on my RPi3B+ and it's working fine.

Zeno Dalla Valle
  • 957
  • 5
  • 16