User Tools

Site Tools


linux_network

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_network [2017/01/21 10:29] 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 ==== ==== Use BBR ====
 <code> <code>
Line 6: Line 36:
  
 To install latest kernel on Xenial: [[linux#install_zesty_kernel_49_on_xenial]] 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? ====
linux_network.1484994585.txt.gz · Last modified: 2017/01/21 10:29 by felixonmars