I've set up an access point / wifi-repeater via hostapd on my raspberry pi using this incredible tutorial.
Now I want to ensure that the connecting clients have a "static" IP in the subnet. Example:
- Client with MAC
0d:78:b9:5c:1d:b6connects to the AP. - The client is assigned the IP
192.168.4.200
How can I ensure that the assigned sub-IP (.200) is always the same?
Will it change randomly after a few connections? Can I somehow map specific IPs to the connecting MACs?
I've read about accept_mac_file and VLAN, but I am unsure if this solves my issue.