IPv6 in v24

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
gargolito
DD-WRT Novice


Joined: 05 Sep 2008
Posts: 1

PostPosted: Fri Sep 05, 2008 6:38    Post subject: Need some help, weird loss of routing (ipv6 n00b) - UPDATED Reply with quote
I am now able to replicate this by just rebooting the pc, and solve it by doing a tracert6 from the pc to the canonical address of the lan adapter on my router like so:
tracert6 2001:470:XXXX:XXXX:0:d:bcb:b10a
somehow doing this let's my pc find external ipv6 routes. I still don't know why this is happening or how to avoid it if anyone could help please.

----original post----
Before I start with the whining, Crushed Hat, you are the man your work is much appreciated!!!

On to the whining! I lost routing once before and I chalked it up to being an ipv6 newb, so I re-flashed, reset to factory and re-configured PC and router and got ipv6 working again, but now routing died on me once more. Cause unknown, only thing I've done is shut down the PC to move to new desk. (I've rebooted everything just in case but that did not help)

Hardware/OS Info
router: Buffalo whr-hp-g54
nic: Intel(R) PRO/1000 PL
mobo: Intel D975XBX2
firmware: dd-wrt.v24-10070_crushedhat_4MB
PC: Windows XP (patched to the hilt - SP3, etc)
tunnel: he.net

radvd config:
interface br0 {
AdvSendAdvert on;
prefix 2001:470:XXXX:XXXX::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};

startup script:
ip tunnel add he-ipv6 mode sit remote 209.51.161.58 local XX.XX.XX.XX ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:XXXX:XXXX::XXXX/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip addr add 2001:470:XXXX:XXXX:Very Happy:BCB:B10A/64 dev br0

(what's happening when broken)
From router:
1. can ping6 any public ipv6 by name and ip
2. can ping6 [fe80::219:d1ff:fe3d:4d51] of PC but, I cannot ping6 canonical address of PC [2001:470:XXXX:XXXX:219:d1ff:fe3d:4d51]

From PC:
1. can ping6 LAN of router 2001:470:XXXX:XXXX:XXX
X:d:bcb:b10a but cannot ping6 fe80::20d:bff:fecb:b10a
2. cannot ping external ipv6 of router 2001:470:XXXX:XXXX:XXXX:2 nor fe80::42b0:38ab

Tracert6 to external from PC dies at "Temporary" address of PC nic:
2001:470:XXXX:XXXX:887d:bdad:2dfa:d65a

On PC:
netsh int ipv6 show add (for that adapter shows)
Addr Type | DAD State | Valid Life | Pref. Life | Address
--------- | ---------- ------------ ------------ -----------------------------
Temporary | Preferred | 6d21h20m31s | 21h17m44s | 2001:470:XXXX:XXXX:887d:bdad:2dfa:d65a
Public | Preferred | 29d23h56m38s | 6d23h56m38s | 2001:470:XXXX:XXXX:219:d1ff:fe3d:4d51
Link | Preferred | infinite | infinite fe80::219:d1ff:fe3d:4d51

--------------------------
I am at a loss, I am not connecting the dots on this and it is driving me crazy, can someone please help???
Sponsor
AraG00rN
DD-WRT Novice


Joined: 19 Sep 2008
Posts: 2

PostPosted: Fri Sep 19, 2008 13:06    Post subject: Reply with quote
Hi all,
i've a Asus WL-500G Premium V2, can i use your beautiful firmware?

CPU is: Broadcom BCM5354 chip rev 2

Tnx
Andrea
trpted
DD-WRT Novice


Joined: 21 Sep 2008
Posts: 4

PostPosted: Sun Sep 21, 2008 19:26    Post subject: Reply with quote
Is IPv6 working under Firmware: DD-WRT v24-sp1 (07/27/0Cool std?

Please and thank you Smile
AraG00rN
DD-WRT Novice


Joined: 19 Sep 2008
Posts: 2

PostPosted: Sun Sep 21, 2008 21:57    Post subject: Reply with quote
Quote:
Is IPv6 working under Firmware: DD-WRT v24-sp1 (07/27/0Cool std?

No. I flashed my Asus with crushedhat's firmware and it's working fine.

bye
Andrea
trpted
DD-WRT Novice


Joined: 21 Sep 2008
Posts: 4

PostPosted: Sun Sep 21, 2008 23:08    Post subject: Reply with quote
Ok.

Which firmware (crushedhat's or otherwise)would you recommend for my Linksys WRT54Gv2.* to get IPv6?
riku2015
DD-WRT User


Joined: 02 Oct 2006
Posts: 66
Location: Ulvila, Finland

PostPosted: Mon Sep 22, 2008 13:53    Post subject: Reply with quote
Hi,

Does dd-wrt httpd have ipv6 support? is http daemon compiled with ipv6 support? i tried, and no success. i enabled ipv6 and getted addr from our ipv6 router(radvd) and sussefylly ssh:ed with ipv6 but browser is not working with ipv6 addr http://[ip:v:6::etc]/ tried witch v23SP2 and v24SP1
maybe next release is possible to compile an ip6 support?


thanks already for info.

_________________
Titanix WLAN / Finland, Pori.
trpted
DD-WRT Novice


Joined: 21 Sep 2008
Posts: 4

PostPosted: Mon Sep 22, 2008 19:02    Post subject: Reply with quote
riku2015 wrote:
Hi,

Does dd-wrt httpd have ipv6 support? is http daemon compiled with ipv6 support? i tried, and no success. i enabled ipv6 and getted addr from our ipv6 router(radvd) and sussefylly ssh:ed with ipv6 but browser is not working with ipv6 addr http://[ip:v:6::etc]/ tried witch v23SP2 and v24SP1
maybe next release is possible to compile an ip6 support?


thanks already for info.


That is interesting...

What browser (and version) are you using there?


Last edited by trpted on Tue Sep 23, 2008 16:57; edited 1 time in total
melafau
DD-WRT Novice


Joined: 23 Sep 2008
Posts: 1

PostPosted: Tue Sep 23, 2008 1:56    Post subject: Re: Need some help, weird loss of routing (ipv6 n00b) - UPDA Reply with quote
UPDATE: By setting the primary DNS to the router's IPv6 2001:<etc> addy I now have fully functional dns resolution at all times

-------------------------------------
gargolito wrote:
I am now able to replicate this by just rebooting the pc, and solve it by doing a tracert6 from the pc to the canonical address of the lan adapter on my router like so:
tracert6 2001:470:XXXX:XXXX:0:d:bcb:b10a
somehow doing this let's my pc find external ipv6 routes. I still don't know why this is happening or how to avoid it if anyone could help please.

----original post----
......
--------------------------
I am at a loss, I am not connecting the dots on this and it is driving me crazy, can someone please help???


@ gargolito - I have a HR-HP-G54 as well - loaded up crushedhat's firmware and implemented the settings. My Vista 64 box wont route until I ping from it to the 2001 addy of the router. After that, I'm golden. Perhaps it's just a crap-vista/xp thing?
Diosbejgli
DD-WRT Novice


Joined: 23 Aug 2008
Posts: 30

PostPosted: Wed Sep 24, 2008 0:53    Post subject: Reply with quote
riku2015 wrote:
Hi,
Does dd-wrt httpd have ipv6 support? is http daemon compiled with ipv6 support? i tried, and no success. i enabled ipv6 and getted addr from our ipv6 router(radvd) and sussefylly ssh:ed with ipv6 but browser is not working with ipv6 addr http://[ip:v:6::etc]/ tried witch v23SP2 and v24SP1
maybe next release is possible to compile an ip6 support?
thanks already for info.

You can check it for yourself by logging on to ssh and issuing the "netstat -ln |grep :80" command. if it shows :::80 it means that httpd is listening on :: (every address) on :80 (port 80). the same goes with sshd but as you mentioned, you can access ssh via ipv6.
just to be sure, I've tested web access via ipv6 on my own router and it worked like a charm by using http://[ip:v:6::etc]/ router's address in my browser. make sure your browser supports ipv6, you can test it on http://www.whatismyipv6.net/
riku2015
DD-WRT User


Joined: 02 Oct 2006
Posts: 66
Location: Ulvila, Finland

PostPosted: Wed Sep 24, 2008 18:00    Post subject: Reply with quote
i used ip6 enabled browser. firefox at linux, now also tryed vista. all works ip6 sites.
but this is intresting dd-wrt v23SP2 after reboot:

~ # ip -6 addr
1: lo: <LOOPBACK,MULTICAST,UP>
inet6 ::1/128 scope host
3: eth0: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::216:1ff:fef2:1078/64 scope link
6: eth1: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::216:1ff:fef2:107a/64 scope link
7: vlan0: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::216:1ff:fef2:1078/64 scope link
inet6 2002:5396:7981:3:216:1ff:fef2:1078/64 scope global dynamic
valid_lft 264sec preferred_lft 84sec
10: br0: <BROADCAST,MULTICAST,UP>
inet6 fe80::216:1ff:fef2:1078/64 scope link
~ # netstat -ln |grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
~ #



that i's why is not working. that is not listening at v6.

also i did not see ssh 22 port anywhere. huh??

~ # netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:161 0.0.0.0:*
raw 0 0 0.0.0.0:255 0.0.0.0:* 0
raw 0 0 0.0.0.0:255 0.0.0.0:* 0
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path

_________________
Titanix WLAN / Finland, Pori.
riku2015
DD-WRT User


Joined: 02 Oct 2006
Posts: 66
Location: Ulvila, Finland

PostPosted: Thu Sep 25, 2008 8:34    Post subject: Reply with quote
other thing, it drops ipv6 2002: addr after awaile (less than 1hour)
so there is something wrong.

_________________
Titanix WLAN / Finland, Pori.
wasiqjaved
DD-WRT Novice


Joined: 19 Apr 2007
Posts: 13

PostPosted: Thu Oct 16, 2008 13:35    Post subject: Reply with quote
Alright... I've got 24SP1 loaded in my WRT600N.

Now I am a bit clueless in how to setup IPv6 in my router.

Here's what I got for my Hurricane Electric Tunnel
Code:
Server IPv4 address:    216.66.80.16
Server IPv6 address:    2001:470:1f08:5d7::1/64
Client IPv4 address:    82.48.144.216
Client IPv6 address:    2001:470:1f08:5d7::2/64
Routed /48:    Allocate
Routed /64:    2001:470:1f09:5d7::/64


Now when I click SHOW button for LINUX-ROUTE2, following table is shown

Code:
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.66.80.16 local 82.48.144.216 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f08:5d7::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr


now where am I suppose to put this information? What to write in Startup, Ravdvd & Firewall script?

I have the following network hardware!
    Internet : Cable Modem with Dynamic IP
    Router : WRT600N v1.1 (with DD-WRT 24SP1 MEGA & DynDNS running)


Note : If I turn my modem OFF for more than 15 minutes, only then I get new IP from my ISP. Otherwise, IP address remains same.

Can someone please guide me? In the meantime, I will try to do it myself, but I am sure I am bound to make mistakes. & How will I know that my ipv6 is now running? How to check it?
tpdean
DD-WRT Novice


Joined: 19 Nov 2006
Posts: 39

PostPosted: Sat Oct 18, 2008 20:10    Post subject: rocking out ipv6 Reply with quote
crushedhat,

Thank you very much for creating this ipv6 enabled version of dd-wrt. After following your instructions, and working through a few typo's, I've now got my he ipv6 tunnel nailed up on my buffalo router. It's working great for clients attached to my main AP. A GUI method for connecting to the various tunnel brokers would be fabulous!

Question: Have you had any experience bridging ipv6 traffic between wireless AP's? Because of the way my house is setup, I've actually got one Buffalo AP serving as my router, and then two additional Buffalo's running DD-WRT and bridging traffic between my various PCs. It would be nice to be able to have ipv6 connected clients behind the wireless bridges, however I've noticed that they don't seem to be passing any ipv6 packets. Stateless autoconfiguration doesn't seem to be working for any clients behind the bridges. And if I try to configure a static ipv6 address, I can't ping6 the br0 interface on my main AP from any clients attached to the bridges.

Any ideas?

Thank you sir! Very happy with this firmware! Very Happy
Bacchus
DD-WRT Novice


Joined: 15 Nov 2008
Posts: 1

PostPosted: Sat Nov 15, 2008 12:16    Post subject: Reply with quote
I have a WRT54GL, installed crushedhat's firmware from a "standard" DD-WRT and tried to connect my static SixXS-tunnel by enabling IPv6 in the webinterface and entering the following in the startupscript:
[...]
Can you tell me what I screwed up?

Edit: never mind, seems to work already.
rafelbev
DD-WRT Novice


Joined: 19 Nov 2008
Posts: 2

PostPosted: Thu Nov 20, 2008 15:42    Post subject: Reply with quote
Hi CrushedHat - Kudos to your work for taking in hand IPv6 support seriously in dd-wrt.

I am also interested in getting IPv6 support up to scratch on my brand new dd-wrt router. I am currently using a SIXXS PoP and have a subnet behind the tunnel for my current network on a seperate machine. I would like to move this to the router.

I saw that you posted sourcecode for the first build but not for the second build. Do you mind posting the sourcecode for the second build so that I carry on your foot steps? I just checked out the whole repo (massive btw ) and wanted to first start by merging your patches to the current upstream version - without committing. Then help polish it to get it committed, and later on base on your work and write a GUI for the IPv6 configuration. My understanding would be to support various tunnel providers too. I have accounts for both HE and SIXXS.

As an ongoing project I think that we would have to start going through all the options and make sure that all features are IPv6 aware if supported upstream.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next Display posts from previous:    Page 3 of 7
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum