Raspberry Pi 4 / Debian : Static IP on one SSID and Dynamic on another

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
Swamp Thing
Insights Author
Messages
1,062
Reaction score
819
My Raspberry Pi 4 has a GUI widget that is supposed to let us specify WLAN settings on a per-SSID basis, but it doesn't work. (All SSIDs end up with the same setting).

Some articles on the net say that one can modify the dhcpd.conf file with an entry headed by the SSID name and then put in static IP parameters in that section. But I couldn't find how to specify a dynamic IP for a given SSID on the same interface (and to mix static and dynamic on a per-SSID basis for a given WLAN).

How can this be done?
 
Physics news on Phys.org
I don't think you can dynamically allocate by altering the dhcp.conf file. It is for the static IP's only. When I did my cluster, I had to put static IP's so that everyone could see each other, and my POE swtich assigned IP's.

As for mixing static and dynamics on a network, I'd have to investigate a little. Usually statics are given to printers etc so everyone can see them all the time.

Let me cogitate a little and get back to you.