IPV6 in new builds

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Juniorek
DD-WRT User


Joined: 14 Feb 2011
Posts: 72

PostPosted: Thu Oct 30, 2014 20:46    Post subject: IPV6 in new builds Reply with quote
Hello

I've got a problem;/
I'm running 24160 on TL-WDR4300 with custom ipv6 script for he tunnel.
Wanted to upgrade to newest builds, but stumbled on to a wall. The IPV6 config is now much bigger and i don`t know how to set it up;/

Maybe someone from You managed to config a 6to4 tunnel or knows how to do it.

Much obligated

_________________
TP-Link TL-WDR4300 v1 - DD-WRT std svn 26372;? 6to4 Smile
Sponsor
Juniorek
DD-WRT User


Joined: 14 Feb 2011
Posts: 72

PostPosted: Fri Oct 31, 2014 14:39    Post subject: Reply with quote
really... no one....???
_________________
TP-Link TL-WDR4300 v1 - DD-WRT std svn 26372;? 6to4 Smile
steuben
DD-WRT Novice


Joined: 07 Feb 2009
Posts: 25
Location: New York, NY

PostPosted: Sun Nov 02, 2014 21:27    Post subject: Reply with quote
Apparently no one… I've got TWC in NYC and when connected directly to the cable modem I get an IPv6 IP address, but when using build 25179 I do not…

Under the new IPV6 tab I'll set DHCPv6 with Prefix Delegation (since the address is dynamic, I don't use the Native IPv6 from ISP), choose the 64 bit prefix length, and… nada.

_________________
WRT1900AC
SLM2008 gigabit internal network
Juniorek
DD-WRT User


Joined: 14 Feb 2011
Posts: 72

PostPosted: Tue Nov 04, 2014 22:58    Post subject: Reply with quote
i've managed to "set up" a 6to4 tunnel, my router pings ipv6, but my pc doesn't have ipv6;/
don't know what to do...

maybe someone from devs could post some hints?

_________________
TP-Link TL-WDR4300 v1 - DD-WRT std svn 26372;? 6to4 Smile
Wolphin
DD-WRT Novice


Joined: 27 Nov 2008
Posts: 17
Location: Alberta, Canada

PostPosted: Sun Jan 11, 2015 19:52    Post subject: Reply with quote
Juniorek wrote:
i've managed to "set up" a 6to4 tunnel, my router pings ipv6, but my pc doesn't have ipv6;/
don't know what to do...

maybe someone from devs could post some hints?

Not a Dev, but if you say how you got the IPv6 to work at the router level, maybe we can get it to work for the PC as well.

_________________
CWTS, CWNA, CWSP Certified
Asus AC-AC68U on build 27506
iliteo
DD-WRT User


Joined: 09 Apr 2014
Posts: 103
Location: Hellas

PostPosted: Sun Jan 11, 2015 20:06    Post subject: Reply with quote
Read this sticky. may help you.
HOW TO: IPv6, 6in4 tunnel for begginers

_________________
dd-wrt is addict...
Wolphin
DD-WRT Novice


Joined: 27 Nov 2008
Posts: 17
Location: Alberta, Canada

PostPosted: Sun Jan 11, 2015 23:27    Post subject: Reply with quote
Well, I have IPv6 at my router. Thanks!

br0's link-local (fe80:: ) address works fine to communicate, showing I have IPv6 between my router and my PC. Also, I have been able to get it to route IPv6 DNS entries on my PC.

There seems to be a problem:

    * Getting automatic addressing from the router onto the devices.
    * Routing IPv6 from my PC to the internet.
    * Also... unable to tell if radvd is running or not...

Update:
been unable to see it using the command "top".
When I type "radvd" I get:
Code:
root@DD-WRT:~# radvd
[Jan 12 10:08:25] radvd: can't open /etc/radvd.conf: No such file or directory
[Jan 12 10:08:25] radvd: Exiting, permissions on conf_file invalid.

Something else I need to do to get that going? Radvd is used for the routing and route advertising.

_________________
CWTS, CWNA, CWSP Certified
Asus AC-AC68U on build 27506
Wolphin
DD-WRT Novice


Joined: 27 Nov 2008
Posts: 17
Location: Alberta, Canada

PostPosted: Sun Jan 18, 2015 17:02    Post subject: Reply with quote
I have it working!

Config set:

    * 6in4 Static Tunnel (HE; auto-update of tunnel end, as I am on a DHCPv4 address)
    * Prefix: 64 (Unless doing a custom setup, that should be correct)
    * Static DNS 1: HE's Anycasted IPv6 Caching Nameserver
    * Assigned / Routed Prefix: HE's Routed /64 (Only the part before the "/64"
    * Router IPv6 Address: HE's Server IPv6 Address (Not sure I need this; anyone want to confirm?)
    * Tunnel Endpoint IPv4 Address: HE's Server IPv4 Address
    * Tunnel Client IPv6 Address: HE's Client IPv6 Address (This is your router's WAN side)

    * DHCP6c: Disabled
    * DHCP6s: Enabled
    * Sequential IPs: Disabled (Left it off, as this defeats the purpose of having a large address pool)
    * Custom Hosts: <Empty> (Have not seen any details on syntax for this field)
    * DHCP6s Custom: Enabled
    * DHCP6s config:
    Code:

    option domain-name-servers <HE's Routed Prefix>:: <HE's Anycasted IPv6 Caching Nameserver>;

    interface br0 {
      address-pool pool1 4800;
    };

    pool pool1 {
      range <HE's Routed Prefix>:1:: to <HE's Routed Prefix>:1:ffff:ffff:ffff;
    };

    * Radvd: Enable
    * Radvd Custom: Enable
    * Radvd Config:
    Code:

    interface br0 {
      AdvSendAdvert on;   #Router Advertisement/Solicitations

      #Time between sending unsolicted multicast router advertisements (seconds)
      MinRtrAdvInterval 5;
      MaxRtrAdvInterval 60;

      #Time between sending multicast router advertisements (seconds)
      MinDelayBetweeenRAs 5;

      #Enables additional stateful autoconfiguration information
      AdvManagedFlag on;      #address information
      AdvOtherConfigFlag on;   #non-address information


      prefix <HE's Routed Prefix>/64 {
        AdvOnLink on;   #Prefix can be used for on-link determination
        AdvRouterAddr on;   #Address of interface is sent instead of prefix (required for Mobile IPv6)

        AdvAutonomous off;   #Indicates prefix has DHCPv6 and to use it for configuration
      };
    };

    route {
      interface br0;
      prefix <HE's Routed Prefix>/64

      AdvRouteLifetime 1800;
      AdvRoutePreference high;   #low/medium/high
    };

    rdnss {
      interface br0;
      addr <HE's Routed Prefix>;

      AdvRDNSSLifetime 1200;
    };
    rdnss {
      interface br0;
      addr <HE's Routed Prefix> <HE's Anycasted IPv6 Caching Nameserver>;

      AdvRDNSSLifetime 1200;
    };

    * Firewall script: (HE's server that needs to be able to ping, to confirm tunnel is active)
    Code:
    iptables -I INPUT 2 -s 66.220.2.74 -p icmp -j ACCEPT

    * Startup script: (Would like confirmation if I need this or not!)
    Code:

    radvd -C /jffs/radvd.conf
    ip route add ::/0 dev ip6tun


Had to run my own Radvd config in a mounted thumb drive of the above Radvd config, as I was not able to get it to launch at first. If I don't need that separate file, and instead have it launch via GUI, would be better!
startup script: (not sure if I actually needed to do that -- someone could test that)
Code:
radvd -C /jffs/radvd.conf

_________________
CWTS, CWNA, CWSP Certified
Asus AC-AC68U on build 27506
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum