IPv6 updated instructions and scripts for v24

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


Joined: 30 Mar 2008
Posts: 10

PostPosted: Sun Sep 26, 2010 5:20    Post subject: Reply with quote
lv426 wrote:
Hi chuggo,

the version you are using is older then the wiki. I think you should think about updating with a newer one.

lv426

chuggo wrote:
Am I missing something here? Just installed dd-wrt.v24_std_generic.bin (13064) on my wrt54g (the router database recommended it) and even though the wiki says radvd is included, it is not.
I installed that version as well (and reinstalled today just to double check). There is no radvd option on the webgui and I still get this message when trying to run radvd by sshing to the router:

root@DD-WRT:~# radvd
-sh: radvd: not found
Sponsor
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Sun Sep 26, 2010 17:50    Post subject: Reply with quote
Hi chuggo,

maybe IPv6 is not included in your build (possibly not enough space). Can you do a
Code:
insmod ipv6
?

lv426
chuggo
DD-WRT Novice


Joined: 30 Mar 2008
Posts: 10

PostPosted: Sun Sep 26, 2010 22:35    Post subject: Reply with quote
lv426 wrote:
Hi chuggo,

maybe IPv6 is not included in your build (possibly not enough space). Can you do a
Code:
insmod ipv6
?

lv426
It doesn't give an error message, but neither does
Code:
insmos 123456abcdef
. It doesn't show up in lsmod, however.
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Mon Sep 27, 2010 18:43    Post subject: Reply with quote
Hi chuggo,

what das
Code:
ls -la /lib/modules/`uname -r`/
say? Is ipv6.ko somewhere in the kernel modules directory existing?

lv426
chuggo
DD-WRT Novice


Joined: 30 Mar 2008
Posts: 10

PostPosted: Tue Sep 28, 2010 11:04    Post subject: Reply with quote
lv426 wrote:
Hi chuggo,

what das
Code:
ls -la /lib/modules/`uname -r`/
say? Is ipv6.ko somewhere in the kernel modules directory existing?

lv426

Nothing for ipv6 shows up when I run that command.

DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 08/12/10 (SVN revision: 14929)
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Tue Sep 28, 2010 12:53    Post subject: Reply with quote
Hi chuggo,

what kernel version do you have (uname -r)?

lv426
chuggo
DD-WRT Novice


Joined: 30 Mar 2008
Posts: 10

PostPosted: Tue Sep 28, 2010 21:08    Post subject: Reply with quote
# uname -r
2.4.37
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Wed Sep 29, 2010 9:22    Post subject: Reply with quote
So it seams that in your version of dd-wrt there is no IPv6 included, because you don't have ipv6.ko, sit.ko and radvd. The only valid conclusion is that the wiki is wrong in that point. Which bin file did you flash your router with?

lv426
chuggo
DD-WRT Novice


Joined: 30 Mar 2008
Posts: 10

PostPosted: Thu Sep 30, 2010 7:44    Post subject: Reply with quote
lv426 wrote:
So it seams that in your version of dd-wrt there is no IPv6 included, because you don't have ipv6.ko, sit.ko and radvd. The only valid conclusion is that the wiki is wrong in that point. Which bin file did you flash your router with?

lv426

I've tried 14896, 14929, 13064 and a couple others from the official ftps.

They were all dd-wrt.v24_std_generic.bin
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Thu Sep 30, 2010 14:01    Post subject: Reply with quote
By the way, do you have the option "IPv6 Support" in the Administration-Tab of the web interface?

lv426
lazytom
DD-WRT Novice


Joined: 14 Sep 2010
Posts: 6

PostPosted: Thu Sep 30, 2010 20:43    Post subject: Re: How to test ipv6 firewall Reply with quote
lv426 wrote:
Hi lazytom,

thank you for posting the modules. I tested the ones I need and they work like charm.

[snip]

So that's it. I think this should be the updated firewall rules for kernel 2.6 and nf_conntrack_ipv6 enabled routers. By the way I use the 6to4 transition system (I thought about sixxs, but I did not want to install new software on my router).

lv426


I'm happy with the rules (modified for my SIXXS setup) you defined and with my (limited) knowledge the use of the nf_conntrack module seems very useful. It makes the job of defining rules quite a bit easier.

Thanks again for the explanation and the rule set

lazy T




Joined: 01 Jan 1970
Posts:

PostPosted: Thu Sep 30, 2010 23:16    Post subject: Reply with quote
I just wanted to throw in with regards to 6to4 on the WRT300Nv1.0 the outward interface (substitute in for vlan2) is eth1.

Also, oddly enough the K2.6 scripts also work even though this is just a K2.4 NEWD build. Any idea why that might be?
lazytom
DD-WRT Novice


Joined: 14 Sep 2010
Posts: 6

PostPosted: Fri Oct 01, 2010 6:16    Post subject: Reply with quote
osmosis wrote:
[snip}

Also, oddly enough the K2.6 scripts also work even though this is just a K2.4 NEWD build. Any idea why that might be?


If you're talking about the firewall script, it doesn't depend on the kernel but on ip[6]tables and it's kernel modules. And iptables and it's modules - if available for your kernel - have the same interface (as long as its the same iptables version, etc.).

So, my understanding is that it is supposed to work on both (someone correct me if I'm wrong).

Cheers,
Lazy T
lv426
DD-WRT User


Joined: 21 Nov 2007
Posts: 79

PostPosted: Fri Oct 01, 2010 13:07    Post subject: Reply with quote
lazytom wrote:

So, my understanding is that it is supposed to work on both (someone correct me if I'm wrong).


Yes you are right. One of the minor differences is that the mtu with kernel 2.4 is 1280 and with kernel 2.6 you can have 1480. But this also depends on your IPv6 provider (e.g. SIXXS wants 1280).

Greets

lv426




Joined: 01 Jan 1970
Posts:

PostPosted: Fri Oct 01, 2010 18:48    Post subject: Reply with quote
lv426 wrote:
One of the minor differences is that the mtu with kernel 2.4 is 1280 and with kernel 2.6 you can have 1480.


Yeah, I was just surprised that the module still loaded despite it trying to load sit.ko instead (a la K2.6 script) and that having the 1480 MTU didn't seem to affect my kernel 2.4 build either.. IPv6 still worked! Switched to the appropriate 2.4 scripts just to be on the safe side, but I still thought it was peculiar that it worked regardless. And since I am talking about 6to4 in this instance, would 1480 have any benefit over 1280? Or vica versa?
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next Display posts from previous:    Page 5 of 8
Post new topic   Reply to topic    DD-WRT Forum 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