OpenWrt Forum Archive

Topic: Problem configuring for ipv6 using TSP and gw6c

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Following the Wiki hoto to setup ipv6

I'm running attitude adjustment rc1

I got a freenet6 account
I installed and configured gwc6.
I started it up, rebooting my router.

the gw6c log reports

2012/11/30 13:23:00 I gw6c: Connection to montreal.freenet6.net established.
2012/11/30 13:23:02 I gw6c: Your IPv6 address is -redacted-
2012/11/30 13:23:02 I gw6c: Your IPv6 prefix is -redacted-/56.

I can ping6

PING ipv6.google.com (2001:4860:4002:801::1011): 56 data bytes
64 bytes from 2001:4860:4002:801::1011: seq=0 ttl=54 time=115.879 ms
...
^C
--- ipv6.google.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 114.559/115.930/117.020 ms

Do I need to setup a new interface?  luci shows my wan ipv6 status as "not connected" and my workstations do not have ipv6 internet access?

What am I missing?

/etc/config/gw6c is

config gw6c 'basic'
    option disabled '0'
    option userid 'redacted'
    option passwd 'redacted'
    option server 'montreal.freenet6.net'
    option auth_method 'any'

config gw6c 'routing'
    option ifprefix 'br-lan'
    option host_type 'router'
    option prefixlen '64'

config gw6c 'advanced'
    option gw6c_conf '/tmp/gw6c.conf'
    option gw6c_dir '/usr/share/gw6c'
    option auto_retry 'yes'
    option retry_delay '30'
    option keepalive 'yes'
    option interval '30'
    option if_tunnel_mode 'v6anyv4'
    option if_v6v4 'sit1'
    option if_v6udpv4 'tun'
    option if_v4v6 'sit0'
    option client_v4 'auto'
    option client_v6 'auto'
    option template 'openwrt'
    option proxy_client 'no'

config gw6c 'broker'
    option always_same_serv 'no'
    option broker_list '/etc/config/gw6c-broker-list.txt'
    option last_server '/etc/config/gw6c-last-server.txt'

config gw6c 'logging'
    option log_console '0'
    option log_stderr '1'
    option log_syslog '0'
    option log_filename '/var/log/gw6c.log'
    option log_rotation 'yes'
    option log_maxsize '32'
    option syslog_facility 'USER'
    option log_file '1'

The wiki says the /etc/init.d/radvd MUST be disabled so mine is. my radvd config

config interface
    option interface 'lan'
    option AdvSendAdvert '1'
    option AdvManagedFlag '0'
    option AdvOtherConfigFlag '0'
    list client ''
    option ignore '0'

config prefix
    option interface 'lan'
    list prefix ''
    option AdvOnLink '1'
    option AdvAutonomous '1'
    option AdvRouterAddr '0'
    option ignore '0'

config route
    option interface 'lan'
    list prefix ''
    option ignore '0'

config rdnss
    option interface 'lan'
    list addr ''
    option ignore '0'

config dnssl
    option interface 'lan'
    list suffix ''
    option ignore '0'

(Last edited by smitopher on 1 Dec 2012, 02:32)

Never mind.  I setup a 6in4 tunnel with Hurricane Electric following the wiki.

I removed gw6c.

Ok, I ran into the same problem. After some trial an error I found that

option prefixlen '64'

is not working. Use

option prefixlen '56'

and then you go.
Stefan

(Last edited by StorageGuru on 22 Dec 2012, 16:31)

The discussion might have continued from here.