Advertisement
emeraldcitykid

Ipv6 Setup Script

May 12th, 2011
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement