Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Notes / Server 2012 / Hurricane Electric IPv6 tunnel - Server 2012

Hurricane Electric IPv6 tunnel - Server 2012

by ACalcutt last modified Oct 10, 2012 03:02 PM
Commands to set up a Hurricane Electric IPv6 tunnel in Server 2012

netsh interface ipv6 add v6v4tunnel HEipv6tunnel [Client IPv4 Address] [Server IPv4 Address]
netsh interface ipv6 add address HEipv6tunnel
[Client IPv6 Address]
netsh interface ipv6 add route ::/0 HEipv6tunnel [
Server IPv4 Address]
netsh interface ipv6 add route [
Routed /64] interface="Ethernet" publish=yes store=persistent
netsh interface ipv6 set interface HEipv6tunnel forwarding=enabled
netsh interface ipv6 set interface Ethernet forwarding=enabled advertise=enabled advertisedefaultroute=enabled store=persistent managed=enabled

---------------------------------------------------------------------------------------------------------------------------
Example
---------------------------------------------------------------------------------------------------------------------------

Server IPv4 Address: 209.x.x.x
Server IPv6 Address: 2001:x:1:x::1/64
Client IPv4 Address: 68.x.x.x (this should be the external IP you gave hurricane electric unless you are behind a nat. If you are behind a nat use your local ip (ex 192.x.x.x))
Client IPv6 Address: 2001:x:1:x::2/64
Routed /64: 2001:x:2:x::/64

netsh interface ipv6 add v6v4tunnel HEipv6tunnel 68.x.x.x 209.x.x.x
netsh interface ipv6 add address HEipv6tunnel
2001:x:1:x::2/64
netsh interface ipv6 add route ::/0 HEipv6tunnel
2001:x:1:x::1
netsh interface ipv6 add route
2001:x:2:x::/64 interface="Ethernet" publish=yes store=persistent
netsh interface ipv6 set interface HEipv6tunnel forwarding=enabled
netsh interface ipv6 set interface Ethernet forwarding=enabled advertise=enabled advertisedefaultroute=enabled store=persistent managed=enabled

Document Actions