I'm trying to connect the Ubuntu 18.04 guest machine to the network on my Kubuntu 18.04 host laptop via bridge adapter. The Ubuntu guest won't recognize it, however.

I read about how I should be modifying netplan .yaml file, but I'm not exactly sure how to set up bridge network with it.

This is what the yaml file looks like so far:

# Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager # Added everything from here myself ethernets: enp1s0: dhcp4: true dhcp6: true wifis: wlp2s0: dhcp4: true dhcp6: true bridges: br0: interfaces: [enp1s0, wlp2s0] dhcp4: true dhcp6: true br1: interfaces: [enp1s0] dhcp4: true dhcp6: true

I got this when I ran # netplan generate :

Error in network definition //etc/netplan/01-network-manager-all.yaml line 12 column 6: wlp2s0: No access points defined

I'm not sure what I'm doing wrong exactly. Was I supposed to list every access point the interface is using?

Couple of sites I checked out: