• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

ipv6 tests - created tunnel now what?

Started by SE1, October 11, 2011, 10:02:28 AM

Previous topic - Next topic

SE1

Sorry. Here it is attached.

I can ping the ipv6 address on the windows machine from the VM, but can't access the internet.

SE1

My topology is as shown in the jpeg.


The default GW for the ubuntu VM is 138.111.56.12 and ipv6 2001:470:67:47::3

i am able to ping client side of the tunnel but not the server side of the tunnel, so cant get to the web.

everything is working perfectly on windows.

P.S. I have also attached the ip address config, please let me know where i went wrong.

cholzhauer

Everything looks good to me.

I assume your tunnel works from the Windows side?

Are you able to ping the windows machine from your Ubuntu VM?

SE1

yes the tunnel works from the windows side.

I can ping the windows machine from the ubuntu vm but can't access the tunnel from the ubuntu vm.

What could be wrong?

cholzhauer

I'm wondering if there's a setting you need to make on the Windows side to tell it to route traffic

SE1

I m not sure about that.

Do you know where i can find information about that.

cholzhauer

Found it

Below is a copy of a document written by a college friend that he used to make Windows act as a router.  He wrote it for Vista, but I'm guessing the steps are the same for Win7


Steps below were done in Vista.  Steps for Windows 7 might be a little different.

1.  Open Regedit, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
Add STRING value called 'DisabledComponents' and set its value to 0; Reboot
Open the LAN adapter properties and open the IPv6 properties
Manually add an address from this subnet: 2001:db8:1f07:e9a::/64
Keep the prefix at 64
Add this gateway: 2001:db8:1f06:e9a::1
Add this DNS server: 2001:db8:200::2 (this is one of HE's DNS servers)
Click OK and OK to save the changes
Open 'cmd' and type the following commands
netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel IP6Tunnel <your local IP address> 216.66.22.2
netsh interface ipv6 add address IP6Tunnel 2001:db8:1f06:e9a::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:db8:1f06:e9a::1

10.  Test IPv6 connectivity by pinging or opening a website like ipv6.google.com

Steps to configure host to act as IPv6 router

1.  In CMD type: netsh int ipv6 set interface IP6Tunnel forwarding=enabled
2.  Next, type: netsh int ipv6 set interface "Local Area Connection" forwarding=enabled advertise=enabled
3.  Next, add the first address of the routed IP address to the Local Area Connection
netsh int ipv6 add address "Local Area Connection" 2001:db8:8:a0a::1
4.  Next, add the default route and next hop for the tunnel and Local Area Connection, then publish it:
netsh int ipv6 set route 2001:db8:8:a0a::/64 "Local Area Connection" publish=yes
5.  Next, add the default route for the tunnel and publish it:
netsh interface ipv6 set route ::/0 IP6Tunnel 2001:db8:7:a0a::1 publish=yes


I've changed all addresses to use the documentation prefix, so you'd obviously need to use your ranges to make it work

SE1

hey thanks for the reply.


I am able to get to the internet through the vm but i cant ping the server tunnel endpoint: 2001:470:66:47::1; why is that?
I check the with testipv6.com; it passes all the tests however the ipv6 address shown differs from the static one i configured.


IPv6 Tunnel Endpoints
Server IPv4 Address:64.62.134.130
Server IPv6 Address:2001:470:66:47::1/64
Client IPv4 Address:138.111.56.12
Client IPv6 Address:2001:470:66:47::2/64
Available DNS Resolvers
Anycasted IPv6 Caching Nameserver:2001:470:20::2
Anycasted IPv4 Caching Nameserver:74.82.42.42
Routed IPv6 Prefixes
Routed /64:2001:470:67:47::/64

cholzhauer

What IPv6 address is it showing?

I wouldn't worry about pinging that ::1 address if your tunnel is working.  Can you ping ipv6.google.com from your VM?

SE1

I can ping ipv6.google.com.

The address shown is 2001:470:67:47:a00:27ff:fe89:7feb. My VM is getting that address, but the interfaces file has eth0 inet6 --> 2001:470:67:47::4

seuser@seuser-desktop:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:89:7f:eb 
          inet addr:138.111.56.10  Bcast:138.111.56.127  Mask:255.255.255.128
          inet6 addr: 2001:470:67:47:a00:27ff:fe89:7feb/64 Scope:Global
          inet6 addr: fe80::a00:27ff:fe89:7feb/64 Scope:Link
          inet6 addr: 2001:470:67:47::4/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3513 (3.5 KB)  TX bytes:7887 (7.8 KB)


what could be the issue?

cholzhauer

That address you listed is your RA assigned address

If you want to use the ::4 address, tell the VM to not do RA

SE1

Thanks a lot for your help. It is working.

Can I setup a Ipv6 LAN running on the VM and send traffic through the tunnel ?

cholzhauer

Quote
Can I setup a Ipv6 LAN running on the VM and send traffic through the tunnel ?

I guess I'm not sure what you mean by this


SE1

Is it possible to have multiple interfaces on the VM each in a different IPv6 network, and send the traffic through the tunnel outside?

cholzhauer

Sure.

This is where you'd need your /48.

Simply pick a /64 for use on each interface (assuming you wanted the interfaces to be on different subnets/networks) and away you go.