IPv6: Script HE short Ubuntu 18.04

From OnnoWiki
Revision as of 17:36, 30 January 2019 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search
echo 0 >/proc/sys/net/ipv6/conf/enp3s0/accept_ra
modprobe ipv6
ip link set enp3s0 down
ip link set enp3s0 up
ip route add 0.0.0.0/0 via 192.168.0.223 dev enp3s0
ip link set he-ipv6 down
ip tunnel del he-ipv6
ip addr del 2001:470:1f09:65d::1337/64 dev enp3s0
ip tunnel add he-ipv6 mode sit remote 216.66.80.26 local 192.168.0.10 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f08:65d::2/64 dev he-ipv6
ip addr add 2001:470:1f09:65d::1337/64 dev enp3s0
ip route add ::/0 dev he-ipv6

atau

echo 0 >/proc/sys/net/ipv6/conf/enp3s0/accept_ra
modprobe ipv6
ip link set he-ipv6 down
ip tunnel del he-ipv6
ip tunnel add he-ipv6 mode sit remote 216.66.80.26 local 192.168.0.10 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f08:65d::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6


Referensi


Pranala Menarik