1

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.

1 Answer 1

1

Effectively this is not supported through netplan. You can instead set renderer: NetworkManager and use your netplan config as a seed of initial configuration to NetworkManager, then manage the IP settings through NetworkManager directly.

4
  • Could you describe the process please?
    – UserK
    May 29, 2020 at 16:20
  • 1
    I've clarified how you would go about changing your netplan config to feed to NM instead of networkd. Beyond that, managing IP settings through NM is probably best done through the GUI tools.
    – slangasek
    May 29, 2020 at 19:32
  • Thanks @slangasek for the answer
    – UserK
    May 29, 2020 at 19:51
  • Can you reference any official documentation to that fact?
    – isapir
    Aug 24, 2022 at 6:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .