Score:0

netplan bridge ethernet and wifi so that device on wifi can be accessed though ethernet interface

us flag

I'm trying to bridge the ethernet and wifi interfaces of a raspberry pi 4 running ubuntu 20, and using netplan.

The idea is to be able to access a device that has a wifi hotspot, through the ethernet interface.

My current netplan is -

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: false
      addresses: [10.10.10.223/24]
      gateway4: 10.10.10.1
      nameservers:
       addresses: [8.8.8.8,8.8.4.4]
      optional: true
  wifis:
    wlan0:
      dhcp4: true
      optional: true
      access-points:
        "DEVICE":
          password: "DEVICE123"

Any help would be greatly appreciated.

waltinator avatar
it flag
Please see `https://netplan.io` and `https://netplan.io/examples`.
user535733 avatar
cn flag
If you are using NetworkManager, then NetworkManager is the more appropriate place to set this up. Netplan YAML would be more appropriate if you were using networkd.
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.