User Tools

Site Tools


linux_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_network [2017/01/05 06:38] – created felixonmarslinux_network [2018/11/07 16:34] (current) felixonmars
Line 1: Line 1:
 +==== IPv6 Tunnelbroker with systemd-networkd ====
 +<code>
 +# cat > /etc/systemd/network/he-tunnel.netdev << EOF
 +[Match]
 +
 +[NetDev]
 +Name=he-ipv6
 +Kind=sit
 +MTUBytes=1480
 +
 +[Tunnel]
 +Local=<your_ip_address>
 +Remote=<tunnelbroker_endpoint>
 +TTL=255
 +EOF
 +
 +# cat > /etc/systemd/network/he-tunnel.network << EOF
 +[Match]
 +Name=he-ipv6
 +
 +[Network]
 +Address=2001:470:<yourprefix>::2/64
 +Gateway=2001:470:<yourprefix>::1
 +EOF
 +
 +# sed -i '/\[Network\]/aTunnel=he-ipv6' /etc/systemd/network/default.network
 +</code>
 +
 +Add another Address= line for your routed /64.
 +
 +==== Use BBR ====
 +<code>
 +echo -e "\nnet.core.default_qdisc=fq\nnet.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
 +sysctl -p
 +</code>
 +
 +To install latest kernel on Xenial: [[linux#install_zesty_kernel_49_on_xenial]]
 +
 +==== More Tolerant ICMP Ratelimit ====
 +<code>
 +echo -e "\nnet.ipv4.icmp_ratelimit=50" >> /etc/sysctl.conf
 +sysctl -p
 +</code>
 +
 ==== /dev/net/tun Not Found? ==== ==== /dev/net/tun Not Found? ====
 <code> <code>
linux_network.1483598291.txt.gz · Last modified: 2017/01/05 06:38 by felixonmars