I am new to Netplan Configuration so please if its a duplicate question, just point me to the right answer since I couldn't find something that matches my problem.
So, I've got a Raspberry pi 4 and installed Ubuntu Server 18.04.4. I enabled wifi following directions from this site. I would like to use static IP, so I can successfully SSH to it without huzzles.
But I need to set the static ip for each connection I've got separately and not for the interface. For example at work with SSID "A" it should be 192.168.0.XXX and at home with separate SSID "B" it should 192.168.1.XXX. Is this possible with netplan? How can I accomplish this?
If it's possible for any other SSIDs I would like it to switch to DHCP.
If you want any more information, or you think you need more specific parameters just ask me and I'll provide them.