I am new to Netplan Configuration so please if its a duplicate question, just point me to the right answer since i couln't find something that match my problem.
So, I ve got a Raspbery 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 succesfully ssh to it without huzzles.
But i need to set the static ip for each connection i've got seperately and not for the interface. For example at work with SSID "A" it should be 192.168.0.XXX and at home with seperate 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.
Thanks in advance