Score:0

netplan config 2 interface wifi and eth

US flag

I am trying configure two interfaces with netplan But i dont have in mind if is correct Someone more advance can check my config thank you

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      addresses:
        - 192.168.1.22/24
      dhcp4: no
      nameservers:
        addresses: [192.168.1.1,8.8.8.8]
      routes:
        - to: default
          via: 192.168.1.1
          table: 101
      routing-policy:
         - from: 192.168.1.0/24
           table: 101
  wifis:
    renderer: networkd
    wlan0:
      access-points:
        asd:
           password: asd
      addresses: [192.168.2.191/24]
      dhcp4: no
      nameservers:
        addresses: [192.168.2.1,8.8.8.8]
      routes:
        - to: default
          via: 192.168.2.1
          table: 102
      routing-policy:
         - from: 192.168.2.0/24
           table: 102
chili555 avatar
cn flag
Please check here: `cat /usr/share/doc/netplan/examples/wireless.yaml` Please note that the network name (SSID) and password are enclosed in quotes ". Welcome to Ask Ubuntu.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.