0

I have tried looking through this site, and google for a solution before anyone asks. I've made numerous attempts to make a bridged network on my Amazon EC2 server with no success. I've tried

My "stock" config is as follows:

network:
    version: 2
    ethernets:
        ens5:
          dhcp4: true
          match:
           macaddress: xx:xx:xx:xx:xx:xx
          set-name: ens5

All my attempts left me with no connection.

Thank you in advance!

  • What will you be doing with this bridged network, and what are the symptoms of your lack of success? – Michael - sqlbot Apr 3 at 2:51
  • Using the bridged network to experiment with a panel I’m making. The symptoms are always no internet after applying. (No SSH until reset) – Chronic YT Apr 3 at 13:18
  • Are any of the examples available at /usr/share/doc/netplan/examples helpful? Welcome to Ask Ubuntu. – chili555 Apr 3 at 13:20
  • Show me ip a or ifconfig. Where do you define the bridge? Do you have an assigned static IP? – heynnema Apr 3 at 14:46
0

Try this... enter the same MAC in both places... use ip a or ifconfig to get MAC address...

network:
  version: 2
  renderer: networkd
  ethernets:
    ens5:
      match:
        macaddress: xx:xx:xx:xx:xx:xx
      set-name: ens5
  bridges:
    br0:
      dhcp4: true
      macaddress: xx:xx:xx:xx:xx:xx
      interfaces:
        - ens5

sudo netplan --debug generate

sudo netplan apply

reboot

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.