http://www.csnserver.com
Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!



Welcome!

Using Netsh in windows dos XP-Vista and 7 to open a IPV4 to IPV6 Tunnel



netsh usage in Windows:
In this case we are using netsh to setup a Tunnel on IPV4 to use the new IPV6 protocal. This gives us access to a IPV6 gateway through IPV4's Gateway.
To setup the internet adapter settings at the command prompt use the following:

note: The following ip address's are fictional, subsitute your proper IPV4 and IPV6 addresses in the correct locations!

netsh interface teredo set state disabled
(sets the adapter state off or disabled for editing)
netsh interface ipv6 add v6v4tunnel IP6Tunnel 192.40.128.147 192.218.224.42
(sets up a IPV6 tunnel named "IP6Tunnel" with) (local and Remote remote ips for the tunnel ends respectivly as shown above)
netsh interface ipv6 add address IP6Tunnel 2031:470:1f0e:8ba::2
(adds a IPV6 address to the tunnel "IP6tunnel" of 2031:470:1f0e:8ba::2) (for the local host)
netsh interface ipv6 add route ::/0 IP6Tunnel 2031:470:1f0e:8ba::1
(adds a route from ::/0 local host for "IP6Tunnel") to the (router 2031:470:1f0e:8ba::1)
-----------------------------------------------------------------------------------
And to delete the above adaptor Setting if needed:

netsh interface ipv6 delete interface IP6Tunnel
(removes interface named "IP6Tunnel" from the system)
netsh interface ipv6 delete address IP6Tunnel 2031:470:1f0e:8ba::2
(removes the ip address 2031:470:1f0e:8ba::2 from the interface named "IP6Tunnel")
netsh interface ipv6 delete route ::/0 "IP6Tunnel" 2031:470:1f0e:8ba::1
(removes the local route from interface named "IP6Tunnel" as above)

Thanks for visiting mswintips.com.

Return to Index Page


Valid HTML 4.01 Transitional
Copyright 2018 CSN All Rights Reserved