Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Let networkd manage all devices on this system
network:
version: 2
renderer: networkd
ethernets:
#declare the interface used y the bridge device
enp7s0:
dhcp4: no
dhcp6: no
# Create the bridge device
bridges:
br0:
interfaces: [enp7s0]
dhcp4: true
dhcp6: no
@grayFinger

This comment has been minimized.

Copy link

@grayFinger grayFinger commented Jun 13, 2018

thank you

@Niazwali

This comment has been minimized.

Copy link

@Niazwali Niazwali commented Dec 13, 2018

Thanks mikewebb70, I want to create a bridge 'br0' from two ethernet interfaces 'eno1' and 'eno2' with a static ip assigned to the 'br0', can you send me a reconfigured example on comworld_khyber@yahoo.com

@Plorax

This comment has been minimized.

Copy link

@Plorax Plorax commented Mar 25, 2020

Hey guys. Niaz I'm having to do the same. Please won't you paste your config here or send it to me because I'm also struggling with the same setup. I have a host machine, running VMs inside virtualbox. The only way I can communicate with the VMs is if I setup a Host-Only adapter on VirtualBox. If I set the network adapter's to be Bridged on virtualbox for each vm then I can't access the VMs. Their subnet don't match the host's subnet, so I'd like to keep it that way but still give my VMs internet access. I was thinking a bridge network adapter on the host would allow that. Am I right ? my email address is jacques at bchain dot co dot za

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.