1

I'm trying to extend my local LAN network via WiFi and would like all devices in the same network. The setup is as follows:

  • DHCP/DNS server running inside the LAN
  • separate PC linked to the LAN, with WIFI capability (sadly it's not an option, to have the DHCP/DNS server running on this machine)

Since I'm running Ubuntu 18.04, I'm trying to use netplan to set everything up. Here's my .conf file:

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp2s0:
      dhcp4: no
      addresses: [192.168.1.10/24]
      gateway: 192.168.1.1
      nameservers:
        addresses: [192.168.1.2, 8.8.8.8, 8.8.4.4]
  wifis:
    wlp1s0:
      access-points:
        "MyWifi":
          mode: ap
          password: "DONTLOOK"
  bridges:
    br0:
      dhcp4: yes
      interfaces: [enp2s0, wlp1s0]

Now, running the two network separately, i.e without the bridges section, everything works. With dnsmasq activated I can connect to the access point.

However, I can't seem to get the bridge working. Even worse is, as soon as the bridge gets activated, access to the AP is no longer possible.

Does anybody have an idea what I'm missing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.