Created
February 6, 2018 14:23
-
-
Save seidler2547/554029723eee0c55b0439e5a59cb39af to your computer and use it in GitHub Desktop.
"Invisible" Bridge on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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