Skip to content

Instantly share code, notes, and snippets.

@seidler2547
Created February 6, 2018 14:23
Show Gist options
  • Save seidler2547/554029723eee0c55b0439e5a59cb39af to your computer and use it in GitHub Desktop.
Save seidler2547/554029723eee0c55b0439e5a59cb39af to your computer and use it in GitHub Desktop.
"Invisible" Bridge on Linux
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth0
bridge_stp off
bridge_fd 0
up /sbin/sysctl -w net.ipv6.conf.$IFACE.disable_ipv6=1
up /sbin/sysctl -w net.ipv6.conf.$IFACE.autoconf=0
up /sbin/sysctl -w net.ipv6.conf.$IFACE.accept_ra=0
up ip link set dev $IFACE arp off
up ip link set dev eth0 arp off
up ip addr flush dev eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment