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

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

host unreachable

Started by mrpro, March 22, 2008, 03:51:25 AM

Previous topic - Next topic

mrpro

Hi all!

Been trying to get ipv6 on my windows client as well as my linux server but im having some problems. I have probably just configured it all wrong but i dont know how to resolve this..

I got an ADSL modem with iptables which is set up to allow protocol 41 to anywhere. Then theres a linux server holding the tunnel (which works ok) and a XP client both connected through the modems switch.

I have tried using radvd and the client gets an IP but i cant ping the linuxbox or gateway.
Same result when assigning the IP manually. After trying various configs my current nonworking is as follows.

Tilkoblingsspesifikt DNS-suffiks :
IP-adresse . . . . . . . . . . . : 10.0.0.2
Nettverksmaske . . . . . . . . . : 255.255.255.0
IP-adresse . . . . . . . . . . . : 2001:470:1f0a:366::5
IP-adresse . . . . . . . . . . . : fe80::216:17ff:fe93:7cd6%5
Standard gateway . . . . . . . . : 10.0.0.1

Publiser Type      Met.  Prefiks                   Idx  Gateway-/Grensesn.navn
-------- --------  ----  ------------------------  ---  ----------------------
no       Manuell      0  2000::/3                    5  2001:470:1f0a:366::1
no       Manuell      0  2001:470:1f0a:366::/64      5  Lokal tilkobling

sit1      Link encap:IPv6-in-IPv4
          inet6 addr: 2001:470:1f0a:366::2/64 Scope:Global
          inet6 addr: 2001:470:1f0a:366::3/64 Scope:Global
          inet6 addr: 2001:470:1f0a:366::4/64 Scope:Global
          inet6 addr: fe80::a00:4/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:106116 errors:0 dropped:0 overruns:0 frame:0
          TX packets:135288 errors:6 dropped:0 overruns:0 carrier:5
          collisions:0 txqueuelen:0
          RX bytes:52674175 (50.2 MB)  TX bytes:14188867 (13.5 MB)

The linuxbox only got one NIC, ipv6 forwaring is enabled but it didnt work when i had the linuxbox as gateway either.. I'd appreciate any help on this matter :)

Regards



normanr

Do you have a route on the linux box for 2001:470:1f0a:366::/64 to eth0?

normanr

silly question, is your /64 allocation: 2001:470:1f0a:366::/64 or 2001:470:1f0b:366::/64

broquea

The tunnel would be 1f0a and your /64 allocation should be 1f0b. Try making the change and seeing if it works.

normanr

I just checked with my tunnel, and it looks like both the tunnel /64 and the routed /64 are routed down the tunnel.  So in effect it you're allocated two /64's and it doesn't matter which range you use for your network (assuming you remember that he.net takes the ::1 address from the tunnel /64).

My guess is that mrpro is missing the route to his /64 via dev eth0 on the linux server.

mrpro

Thanks for the replies guys :)

So i changed the ips accorindgly but still no luck. Also i made a mess of all the routes on the linux box. After running the config script from HE my routes now looks like this.

ip -6 route
2001:470:1f0b:366::/64 via :: dev sit1  metric 256  expires -443sec mtu 1480 advmss 1420 hoplimit 4294967295
2001:470:1f0b:366::/64 dev eth0  metric 256  expires -342sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 via :: dev sit1  metric 256  expires -726sec mtu 1480 advmss 1420 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires -341sec mtu 1500 advmss 1440 hoplimit 4294967295
default dev sit1  metric 1  expires -726sec mtu 1480 advmss 1420 hoplimit 4294967295

I was able to ping locally between the xp and linux when assigning an ipv6 addy to eth0. Also, is it correct that my radvd.conf is set up to broadcast on eth0?



normanr

You need to remove the "2001:470:1f0b:366::/64 via :: dev sit1" entry (the primary target for 2001:470:1f0b:366::/64 must be dev eth0, otherwise it won't work)

mrpro

Quote from: normanr on March 27, 2008, 04:18:19 AM
You need to remove the "2001:470:1f0b:366::/64 via :: dev sit1" entry (the primary target for 2001:470:1f0b:366::/64 must be dev eth0, otherwise it won't work)

That sure did the trick :) i see the dancing turtle now :) thanks ^^