While packaging minidlna in a Docker container, it became clear that IP Broadcasts (required by minidlna) are not bridged by default in Ubuntu 14.04.
Adding the following file (10-fix-bridge.conf) with the following to /etc/sysctl.d/ fixes this:
# allows broadcasts to reach Docker containers
#net.bridge.bridge-nf-call-arptables = 1
#net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 0
First, my ISP doesn’t support IPv6 so Linux works but DNS name lookups take forever. This helps.
Create a file named 10-no-ipv6.conf in /etc/sysctl.d/ with the following:
# No IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
from linuxnet.ch
To disable IPv6 in RHEL/CentOS 6.x:
Edit /etc/sysconfig/network
Change the following:
NETWORKING_IPV6=yes to
NETWORKING_IPV6=no
Edit /etc/modprobe.conf
If not present, add the following:
alias net-pf-10 off
alias ipv6 off
Stop the ipv6tables service
service ip6tables stop
Disable the ipv6tables service
chkconfig ip6tables off
After rebooting, IPv6 will be disabled.
Recent Comments