Last active
May 24, 2018 08:06
-
-
Save prasmussen/507e3f1c57834647e359 to your computer and use it in GitHub Desktop.
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
WAN addr: 81.167.4.214 | |
eth0 = LAN | |
$ ipv6calc --action 6rd_local_prefix --6rd_prefix 2a01:79c::/30 --6rd_relay_prefix 213.167.115.92/0 81.167.4.214 | |
2a01:79d:469c:1358::/62 | |
sudo ip tunnel add 6rdtun mode sit local 81.167.4.214 ttl 64 | |
sudo ip tunnel 6rd dev 6rdtun 6rd-prefix 2a01:79c::/30 | |
sudo ip link set 6rdtun up | |
sudo ip -6 addr add 2a01:79d:469c:1358:0::1/30 dev 6rdtun | |
sudo ip -6 addr add 2a01:79d:469c:1358:1::1/62 dev eth0 | |
sudo ip -6 route add 2a01::/3 via ::213.167.115.92 dev 6rdtun | |
# radvd.conf (optional) | |
interface eth0 | |
{ | |
AdvSendAdvert on; | |
prefix 2a01:79d:469c:1358::/64 | |
{ | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment