Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Pages: [1] 2

Author Topic: Only able to browse ipv6 site if no ipv4 address  (Read 9270 times)

bradd

  • Newbie
  • *
  • Posts: 10
Only able to browse ipv6 site if no ipv4 address
« on: May 16, 2011, 08:48:42 PM »

I have configured my router to use the HE 6to4 tunnel.  It assigns a ipv6 and ipv4 address to my pc using dhcp.  I have set the DNS server to be the HE anycast server, but I ipv4 is preferred on my widows 7 64-bit machines.

If I run the HE certification test it fails, unless I replace the ipv6.he.net with the ipv6 address, eg. http://[2001:470:0:64::2]/certification/cert-main.php

http://ipv6.whatismyv6.com/ gives me my ipv6 address but the normal test returns the ipv4 address.

Please help.

Brad
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #1 on: May 17, 2011, 04:58:02 AM »

Unless you've changed the preference, IPv6 should be preferred

What does "netsh interface ipv6 show prefixpolicy" show?
Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #2 on: May 17, 2011, 07:24:03 AM »

Precedence  Label  Prefix
----------  -----  --------------------------------
        50      0  ::1/128
        40      1  ::/0
        30      2  2002::/16
        20      3  ::/96
        10      4  ::ffff:0:0/96
         5      5  2001::/32
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #3 on: May 17, 2011, 07:38:35 AM »

That's the way it's supposed to be....The 2001::/32 is used first followed by the rest
Logged

johnpoz

  • Full Member
  • ***
  • Posts: 114
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #4 on: May 17, 2011, 08:14:10 AM »

what browser are you using?  firefox for example can be set to turn off ipv6 dns queries.

about:config

filter ipv6

network.dns.disableIPv6
Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #5 on: May 17, 2011, 08:42:38 AM »

I have the problem in both Chrome and IE.
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #6 on: May 17, 2011, 08:43:44 AM »

lets see ipconfig /all and netstat -nr
Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #7 on: May 17, 2011, 08:47:20 AM »

Code: [Select]
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Brads-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : NVIDIA nForce 10/100/1000 Mbps Ethernet
   Physical Address. . . . . . . . . : 00-04-4B-02-DC-BA
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:47e4:9d77:e472::2(Preferred)
   Lease Obtained. . . . . . . . . . : Monday, May 16, 2011 8:28:53 PM
   Lease Expires . . . . . . . . . . : Wednesday, May 18, 2011 8:43:54 AM
   Link-local IPv6 Address . . . . . : fe80::f400:555e:4f45:5e0a%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Monday, May 16, 2011 8:28:52 PM
   Lease Expires . . . . . . . . . . : Wednesday, May 18, 2011 8:28:53 AM
   Default Gateway . . . . . . . . . : fe80::226:f2ff:fef1:caa7%10
                                       192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 234882123
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-5A-C8-C3-00-04-4B-02-DC-BA

   DNS Servers . . . . . . . . . . . : 2620:0:ccc::2
                                       2620:0:ccd::2
                                       192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{AC158FF4-09CF-4CFA-85B7-A2AB626016B8}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Code: [Select]

===========================================================================
Interface List
 10...00 04 4b 02 dc ba ......NVIDIA nForce 10/100/1000 Mbps Ethernet
  1...........................Software Loopback Interface 1
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1      192.168.1.2     10
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link       192.168.1.2    266
      192.168.1.2  255.255.255.255         On-link       192.168.1.2    266
    192.168.1.255  255.255.255.255         On-link       192.168.1.2    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       192.168.1.2    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       192.168.1.2    266
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 10   4106 ::/0                     fe80::226:f2ff:fef1:caa7
  1    306 ::1/128                  On-link
 10    266 2002:47e4:9d77:e472::2/128
                                    On-link
 10    266 fe80::/64                On-link
 10    266 fe80::f400:555e:4f45:5e0a/128
                                    On-link
  1    306 ff00::/8                 On-link
 10    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #8 on: May 17, 2011, 08:48:53 AM »

Ah ha.

You're using the wrong address...you're using a 6to4 address and not a 6in4 address from HE

Remove the 2002 address and add an address from your routed /64 or /48
Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #9 on: May 17, 2011, 08:52:03 AM »

Do I have to statically assign it?  I gave the client ipv6 address to my router, and my Win PC picked the one it has up via dhcp.
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #10 on: May 17, 2011, 08:55:00 AM »

Don't have to

You might want to turn off 6to4 though (along with Teredo and ISATAP

Code: [Select]
netsh int ipv6 set teredo disabled
netsh int ipv6 isatap set state disabled
netsh int ipv6 6to4 set state disabled

What range are you using?  Are you doing DHCP or RA?
Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #11 on: May 17, 2011, 09:02:18 AM »

It looks like my Router won't do a 6in4 Tunnel, so that's why I'm getting a 6to4 tunnel connection from my ISP.

Do ipv4 addresses get preference in 6to4 tunnels?  So, I really need to figure out how to get the tunnel to work directly on my PC.

On my other machine I tried to directly configute the HE tunnel, but that wouldn't even let me ping ipv6 addresses.



My interface is:
Code: [Select]
Interface IP6Tunnel Parameters
----------------------------------------------
IfLuid                             : tunnel_6
IfIndex                            : 20
State                              : connected
Metric                             : 10
Link MTU                           : 1280 bytes
Reachable Time                     : 38000 ms
Base Reachable Time                : 30000 ms
Retransmission Interval            : 1000 ms
DAD Transmits                      : 1
Site Prefix Length                 : 64
Site Id                            : 1
Forwarding                         : disabled
Advertising                        : disabled
Neighbor Discovery                 : disabled
Neighbor Unreachability Detection  : disabled
Router Discovery                   : disabled
Managed Address Configuration      : disabled
Other Stateful Configuration       : disabled
Weak Host Sends                    : disabled
Weak Host Receives                 : disabled
Use Automatic Metric               : enabled
Ignore Default Routes              : disabled
Advertised Router Lifetime         : 1800 seconds
Advertise Default Route            : disabled
Current Hop Limit                  : 0
Force ARPND Wake up patterns       : disabled
Directed MAC Wake up patterns      : disabled
Link-Layer Address                 : 10.0.1.98
Remote Link-Layer Address          : 66.220.18.42

ipv6 route:
Code: [Select]
Publish  Type      Met  Prefix                    Idx  Gateway/Interface Name
-------  --------  ---  ------------------------  ---  ------------------------
No       Manual    256  ::/0                       20  2001:470:c:10e5::1
No       Manual    256  ::1/128                     1  Loopback
Pseudo-Interface 1
No       Manual    256  2001:470:c:10e5::/64       20  IP6Tunnel
No       Manual    256  2001:470:c:10e5::2/128     20  IP6Tunnel
No       Manual    256  fe80::/64                  20  IP6Tunnel
No       Manual    256  fe80::/64                  10  Local Area Connection
No       Manual    256  fe80::/64                  16  VMware Network
Adapter VMnet1
No       Manual    256  fe80::/64                  17  VMware Network
Adapter VMnet8
No       Manual    256  fe80::5efe:10.0.1.98/128   11  isatap.tucsonembedded.com
No       Manual    256  fe80::5efe:192.168.113.1/128   15
isatap.{031119E8-1754-46C2-B8F2-E87D40706D82}
No       Manual    256  fe80::5efe:192.168.149.1/128   18
isatap.{DED7EBD8-3285-4BD8-8741-3DF65213F478}
No       Manual    256  fe80::3cab:a259:8f6c:ca7f/128   16  VMware
Network Adapter VMnet1
No       Manual    256  fe80::6066:cf5f:a39c:9ef8/128   20  IP6Tunnel
No       Manual    256  fe80::7943:bdc3:6260:b168/128   17  VMware
Network Adapter VMnet8
No       Manual    256  fe80::b161:f8e3:1e90:977a/128   10  Local Area
Connection
No       Manual    256  ff00::/8                    1  Loopback
Pseudo-Interface 1
No       Manual    256  ff00::/8                   20  IP6Tunnel
No       Manual    256  ff00::/8                   10  Local Area Connection
No       Manual    256  ff00::/8                   16  VMware Network
Adapter VMnet1
No       Manual    256  ff00::/8                   17  VMware Network
Adapter VMnet8

addresses:
Code: [Select]
Interface 20: IP6Tunnel

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Manual     Preferred     infinite   infinite 2001:470:c:10e5::2
Other      Preferred     infinite   infinite fe80::6066:cf5f:a39c:9ef8%20

ipconfig /all
Code: [Select]
Windows IP Configuration

  Host Name . . . . . . . . . . . . : tesws-bradd
  Primary Dns Suffix  . . . . . . . :
  Node Type . . . . . . . . . . . . : Hybrid
  IP Routing Enabled. . . . . . . . : No
  WINS Proxy Enabled. . . . . . . . : No
  DNS Suffix Search List. . . . . . : tucsonembedded.com

Ethernet adapter Local Area Connection:

  Connection-specific DNS Suffix  . : tucsonembedded.com
  Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit
Controller
  Physical Address. . . . . . . . . : BC-30-5B-D1-0C-E9
  DHCP Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  Link-local IPv6 Address . . . . . : fe80::b161:f8e3:1e90:977a%10(Preferred)
  IPv4 Address. . . . . . . . . . . : 10.0.1.98(Preferred)
  Subnet Mask . . . . . . . . . . . : 255.255.252.0
  Lease Obtained. . . . . . . . . . : Monday, May 16, 2011 12:05:08 PM
  Lease Expires . . . . . . . . . . : Tuesday, May 17, 2011 8:50:07 AM
  Default Gateway . . . . . . . . . : 10.0.0.74
  DHCP Server . . . . . . . . . . . : 10.0.0.74
  DHCPv6 IAID . . . . . . . . . . . : 247214171
  DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-D3-C9-9A-BC-30-5B-D1-0C-E9
  DNS Servers . . . . . . . . . . . : 10.0.0.24
                                      10.0.0.50
  Primary WINS Server . . . . . . . : 10.0.0.5
  NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet1:

  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter
for VMnet1
  Physical Address. . . . . . . . . : 00-50-56-C0-00-01
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes
  Link-local IPv6 Address . . . . . : fe80::3cab:a259:8f6c:ca7f%16(Preferred)
  IPv4 Address. . . . . . . . . . . : 192.168.113.1(Preferred)
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . :
  DHCPv6 IAID . . . . . . . . . . . : 385896534
  DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-D3-C9-9A-BC-30-5B-D1-0C-E9
  DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                      fec0:0:0:ffff::2%1
                                      fec0:0:0:ffff::3%1
  NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter
for VMnet8
  Physical Address. . . . . . . . . : 00-50-56-C0-00-08
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes
  Link-local IPv6 Address . . . . . : fe80::7943:bdc3:6260:b168%17(Preferred)
  IPv4 Address. . . . . . . . . . . : 192.168.149.1(Preferred)
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . :
  DHCPv6 IAID . . . . . . . . . . . : 402673750
  DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-D3-C9-9A-BC-30-5B-D1-0C-E9
  DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                      fec0:0:0:ffff::2%1
                                      fec0:0:0:ffff::3%1
  NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.tucsonembedded.com:

  Media State . . . . . . . . . . . : Media disconnected
  Connection-specific DNS Suffix  . : tucsonembedded.com
  Description . . . . . . . . . . . : Microsoft ISATAP Adapter
  Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

  Media State . . . . . . . . . . . : Media disconnected
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft 6to4 Adapter
  Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes

Tunnel adapter IP6Tunnel:

  Connection-specific DNS Suffix  . : tucsonembedded.com
  Description . . . . . . . . . . . : Microsoft Direct Point-to-point Adapater
  Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes
  IPv6 Address. . . . . . . . . . . : 2001:470:c:10e5::2(Preferred)
  Link-local IPv6 Address . . . . . : fe80::6066:cf5f:a39c:9ef8%20(Preferred)
  Default Gateway . . . . . . . . . : 2001:470:c:10e5::1
  DNS Servers . . . . . . . . . . . : 10.0.0.24
                                      10.0.0.50
  NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{031119E8-1754-46C2-B8F2-E87D40706D82}:

  Media State . . . . . . . . . . . : Media disconnected
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
  Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{DED7EBD8-3285-4BD8-8741-3DF65213F478}:

  Media State . . . . . . . . . . . : Media disconnected
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
  Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
  DHCP Enabled. . . . . . . . . . . : No
  Autoconfiguration Enabled . . . . : Yes

netstat -nr
Code: [Select]
===========================================================================
Interface List
 10...bc 30 5b d1 0c e9 ......Broadcom NetXtreme 57xx Gigabit Controller
 16...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
 17...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
 1...........................Software Loopback Interface 1
 11...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
 20...00 00 00 00 00 00 00 e0 Microsoft Direct Point-to-point Adapater
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
         0.0.0.0          0.0.0.0        10.0.0.74        10.0.1.98     10
        10.0.0.0    255.255.252.0         On-link         10.0.1.98    266
       10.0.1.98  255.255.255.255         On-link         10.0.1.98    266
      10.0.3.255  255.255.255.255         On-link         10.0.1.98    266
       127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
       127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
 127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
   192.168.113.0    255.255.255.0         On-link     192.168.113.1    276
   192.168.113.1  255.255.255.255         On-link     192.168.113.1    276
 192.168.113.255  255.255.255.255         On-link     192.168.113.1    276
   192.168.149.0    255.255.255.0         On-link     192.168.149.1    276
   192.168.149.1  255.255.255.255         On-link     192.168.149.1    276
 192.168.149.255  255.255.255.255         On-link     192.168.149.1    276
       224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
       224.0.0.0        240.0.0.0         On-link         10.0.1.98    266
       224.0.0.0        240.0.0.0         On-link     192.168.113.1    276
       224.0.0.0        240.0.0.0         On-link     192.168.149.1    276
 255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
 255.255.255.255  255.255.255.255         On-link         10.0.1.98    266
 255.255.255.255  255.255.255.255         On-link     192.168.113.1    276
 255.255.255.255  255.255.255.255         On-link     192.168.149.1    276
===========================================================================
Persistent Routes:
 None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 20    266 ::/0                     2001:470:c:10e5::1
 1    306 ::1/128                  On-link
 20    266 2001:470:c:10e5::/64     On-link
 20    266 2001:470:c:10e5::2/128   On-link
 20    266 fe80::/64                On-link
 10    266 fe80::/64                On-link
 16    276 fe80::/64                On-link
 17    276 fe80::/64                On-link
 16    276 fe80::3cab:a259:8f6c:ca7f/128
                                   On-link
 20    266 fe80::6066:cf5f:a39c:9ef8/128
                                   On-link
 17    276 fe80::7943:bdc3:6260:b168/128
                                   On-link
 10    266 fe80::b161:f8e3:1e90:977a/128
                                   On-link
 1    306 ff00::/8                 On-link
 20    266 ff00::/8                 On-link
 10    266 ff00::/8                 On-link
 16    276 ff00::/8                 On-link
 17    276 ff00::/8                 On-link
===========================================================================
Persistent Routes:
 If Metric Network Destination      Gateway
 0 4294967295 ::/0                     2001:470:c:10e5::1
===========================================================================
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #12 on: May 17, 2011, 09:21:52 AM »

Quote
Do ipv4 addresses get preference in 6to4 tunnels?  So, I really need to figure out how to get the tunnel to work directly on my PC.

Yes, IPv4 is preferred over 6in4

What commands did you use for the tunnel?

Is your router passing protocol41?

Logged

bradd

  • Newbie
  • *
  • Posts: 10
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #13 on: May 17, 2011, 09:23:38 AM »

netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel IP6Tunnel 10.0.1.98 66.220.18.42
netsh interface ipv6 add address IP6Tunnel 2001:470:c:10e5::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:c:10e5::1

I believe the router passes protocol 41.  I told it too, also isn't the 6to4 tunnel protocol 41 as well?
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2701
Re: Only able to browse ipv6 site if no ipv4 address
« Reply #14 on: May 17, 2011, 09:24:48 AM »

Quote
I told it too, also isn't the 6to4 tunnel protocol 41 as well?

I think so?

Can you turn off the firewall on the router and see if that helps?

Some AV stuff will block IPv6 too because it doesn't know what it is
Logged
Pages: [1] 2