0

I have successfully set up a wifi network configuration like this:

network:
  version: 2
  renderer: networkd
  wifis:
    wlxf8d1111b0d78:
      addresses: [10.0.0.69/24]
      gateway4: 10.0.0.138
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
      dhcp4: no
      dhcp6: no
      access-points:
        WIFI_NAME_HERE:
          password: PASS_HERE

What I want to achieve is add another SSID to which I want the interface to get a different static ip (192.168.1.69) with a different gateway (192.168.1.1).

Can someone help me on how to achieve this? The various examples I've read have not answered this question.

Thank you in advance.

0

Effectively this is not supported through netplan. You can instead use the network-manager backend and use netplan to seed initial configuration to NetworkManager, then manage the IP settings through NetworkManager directly.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.