Difference between revisions of "IPv6: Script HE short Ubuntu 18.04"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
  echo 0 >/proc/sys/net/ipv6/conf/enp3s0/accept_ra  |   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 gw 192.168.0.223 dev enp3s0  | ||
| + |  ip link set he-ipv6 down  | ||
  ip tunnel del he-ipv6  |   ip tunnel del he-ipv6  | ||
| − |   ip addr del 2001:470:  | + |   ip addr del 2001:470:1f09:65d::1337/64 dev enp3s0  | 
| − |   ip tunnel add he-ipv6 mode sit remote   | + |   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 link set he-ipv6 up  | ||
| − |   ip addr add 2001:470:  | + |   ip addr add 2001:470:1f08:65d::2/64 dev he-ipv6  | 
| − |   ip addr add 2001:470:  | + |   ip addr add 2001:470:1f09:65d::1337/64 dev enp3s0  | 
  ip route add ::/0 dev he-ipv6  |   ip route add ::/0 dev he-ipv6  | ||
Revision as of 17:35, 30 January 2019
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 gw 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