0

So I have a situation at home where I want to connect my pc (19.10) to my network, but my only nearby ethernet port is in use by my server (18.04).

Now my server has two ethernet ports, and I'm wondering how to bridge them so I can plug my pc into the server, the server into the wall, (wall to switch/router etc) and have the pc be on the same network as everything else.

My current netplan config is this:

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: false
      dhcp6: false
    eno2:
      dhcp4: false
      dhcp6: false
  bridges:
    lan0:
      macaddress: xx:xx:xx:xx:xx:xx
      dhcp4: true
      interfaces:
        - eno1
        - eno2
      parameters:
        stp: false
        forward-delay: 0
      nameservers:
        addresses: [1.1.1.1, 8.8.8.8]

which works fine for the server, but the pc can't connect to the network.

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.