SHARE
TWEET

Ipv6 Setup Script

emeraldcitykid May 12th, 2011 363 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Turn off Teredo
  2. netsh interface teredo set state disabled
  3.  
  4. # Set up the Hurricane Electric IPv6 tunnel
  5. netsh interface ipv6 add v6v4tunnel IP6Tunnel 192.168.1.100 216.218.226.238
  6. netsh interface ipv6 add address IP6Tunnel 2001:470:a:28b::2
  7. netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:a:28b::1
  8.  
  9. # Enable forwarding on the IPv6 tunnel
  10. netsh interface ipv6 set interface IP6Tunnel forwarding=enabled
  11.  
  12. #Set up forwarding and advertising on the system interfaces for IPv6
  13. netsh interface ipv6 set interface "Hamachi" forwarding=enabled advertise=enabled
  14. netsh interface ipv6 set interface "Wireless" forwarding=enabled advertise=enabled
  15.  
  16. # Here's the problem spot../.
  17. netsh interface ipv6 add addr "Hamachi" 2001:470:b:28b::1
  18. netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:b:28b::1 publish=yes
  19. netsh interface ipv6 add addr "Wireless" 2001:470:b:28b::2
  20. netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:b:28b::2 publish=yes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top