unable to ping ipv6 adress
Carmen Sandiego on Wednesday, 20 July 2005 08:59:03
Hello,
I've a principal router for my connexion which doesn't support ipv6 so I have an idea.
I try to make a forward all packets with protocol 41 to my linksys router which supports ipv6.
So my linksys router is configured with a lan static ip and I put the lan ip of my principal router as lan ip, and no connexion wan.
I followed the instructions that I found for my linux firware of my router (http://openwrt.org/IPv6_howto) but when I try to ping an host, I have that:
root@OpenWrt:~# ping6 www.kame.net
PING www.kame.net (2001:200:0:8002:203:47ff:fea5:3085): 56 data bytes
--- www.kame.net ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
I try to add a rule in iptables to let packet with protocol 41 pass.
iptables -A INPUT -p 41 -j ACCEPT
and this is all my INPUT rules:
root@OpenWrt:~# iptables -L INPUT -v
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere state INVALID
26 2392 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 DROP tcp -- any any anywhere anywhere tcp option=!2 flags:SYN/SYN
1 229 input_rule all -- any any anywhere anywhere
1 229 ACCEPT all -- !vlan1 any anywhere anywhere
0 0 ACCEPT icmp -- any any anywhere anywhere
0 0 ACCEPT gre -- any any anywhere anywhere
0 0 ACCEPT ipv6 -- any any anywhere anywhere
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
What I have to do?
Thanks.
Bye
unable to ping ipv6 adress
Carmen Sandiego on Wednesday, 20 July 2005 09:15:46
It works!
root@OpenWrt:~# ping6 2001:200:0:8002:203:47ff:fea5:3085
PING 2001:200:0:8002:203:47ff:fea5:3085 (2001:200:0:8002:203:47ff:fea5:3085): 56 data bytes
64 bytes from 2001:200:0:8002:203:47ff:fea5:3085: icmp6_seq=0 ttl=52 time=562.9 ms
64 bytes from 2001:200:0:8002:203:47ff:fea5:3085: icmp6_seq=1 ttl=53 time=285.3 ms
64 bytes from 2001:200:0:8002:203:47ff:fea5:3085: icmp6_seq=2 ttl=53 time=282.5 ms
64 bytes from 2001:200:0:8002:203:47ff:fea5:3085: icmp6_seq=3 ttl=53 time=280.2 ms
I've replaced my ip public wan with my lan ip in the config of the tunnel, but I don't know why the dns resolution don't work now :-(.
root@OpenWrt:~# ping6 kame.net
ping6: kame.net: Unknown host
unable to ping ipv6 adress
Carmen Sandiego on Wednesday, 20 July 2005 18:27:07
Hello,
It works.
the problem came from kame.net, but it works when I try to ping ftp.ipv6.nerim.net.
Bye
Posting is only allowed when you are logged in. |