Skip to content

Instantly share code, notes, and snippets.

@bryceml
Created June 8, 2017 21:21
Show Gist options
  • Save bryceml/5a9531daa68bd8eb8f2fc0d4f6a34cd4 to your computer and use it in GitHub Desktop.
Save bryceml/5a9531daa68bd8eb8f2fc0d4f6a34cd4 to your computer and use it in GitHub Desktop.
debian/ubuntu kvm ipv6 bridge
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
# The primary network interface
auto br0
iface br0 inet dhcp
bridge_ports eno1
bridge_stp off
bridge_fd 0
bridge_maxwait 0
up echo -n 0 > /sys/devices/virtual/net/br0/bridge/multicast_snooping
# This is an autoconfigured IPv6 interface
iface br0 inet6 auto
dhcp 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment