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
#!/bin/sh | |
# IPv6 bridge | |
ebtables -t broute -A BROUTING -i eth0 -p ! ipv6 -j DROP | |
brctl addif br0 eth0 | |
# enable IPv6 on eth0 | |
echo 0 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6 | |
echo 2 > /proc/sys/net/ipv6/conf/eth0/accept_dad | |
echo 2 > /proc/sys/net/ipv6/conf/eth0/dad_transmits |