What's new

How To Enable IPv6 in Bridge Mode ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

usw

New Around Here
We recently got 2 RT-AC66U to link an office in the opposite building to our company network. They work in AP/Bridge mode and the link is running stable and perfect, using IPv4 addresses.

However, we also use IPv6 in our network. While I saw IPv6 in the RT-AC66U in router mode, it seems to be disabled in access point mode:

Code:
admin@RT-AC66U:/sys/module/ipv6# ifconfig 
br0        Link encap:Ethernet  HWaddr 08:60:6E:BD:E7:D0  
           inet addr:10.20.4.16  Bcast:10.20.4.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:218960 errors:0 dropped:0 overruns:0 frame:0
           TX packets:27274 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:48543931 (46.2 MiB)  TX bytes:12928599 (12.3 MiB)
When I try to add an IPv6 address to an interface, it denies:
Code:
# ip -6 addr add 2001:xxxx:xxxx:xxxx::16/64 dev eth0
RTNETLINK answers: Permission denied
and:
Code:
# modprobe ipv6
modprobe: module ipv6 not found in modules.dep
Any chance to enable ipv6?

Udo
 
wow just what i was lookign for gave me a direction to go, too bad busybox doesn't have enough IPv6 support to make this fix mean anything, other than you can now ping outbound to IPv6 hosts.

#proceed with caution, disabled in modern linux kernal due to looping issues with multiple IPv6 enabled interfaces

echo 0 > /proc/sys/net/ipv6/conf/br0/disable_ipv6
ip -6 addr add ####:####:####:####::2/64 dev br0
ip -6 route add default via ####:####:####:####::1 dev br0

in my case my gateway has static address, you may need to use FE80 address or long version of it's autoconf address.

this doesn't enable IPv6 for any of the services, not even telnet desipte it listening on global ::: interface, no ftp/http support at current time it appears, liekly due to busybox limits...sad days ahead when IPv4 runs outs.. or stops being supported.
 
update telnet does work.. putty just wont take literal ipv6 addresses...windows xp telnet did (yeah xp w v6 installed)... vsftp will need 2nd conf and instance for dual stack if it was even built w v6 support.... and conf changes for http and samba....no bad effects on my network but results may vary...i'm sure this all voids waranty...
 
also was able to run vsftp in IPv6 mode, but had to shutdown IPv4 mode to do it...

otherwise you get this error:
admin@RT-AC66R:/tmp/etc# vsftpd /etc/vsftpd_ipv6.conf
500 OOPS: could not bind listening IPv6 socket
 
I have the same problem, I want pyload to be available through ipv6, but cant get it work.

I did get an ipv6-address in AP-MOde with the following commands:
Code:
echo 0 > /proc/sys/net/ipv6/conf/default/disable_ipv6
echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6

Then ifconfig shows:
Code:
br0        Link encap:Ethernet  HWaddr AC:22:0B:25:02:70
           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::ae22:bff:fe25:270/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:164798879 errors:0 dropped:0 overruns:0 frame:0
           TX packets:216229229 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:135497017944 (126.1 GiB)  TX bytes:264022154492 (245.8 GiB)

But trying to access the webinterface of pyload via [fe80::ae22:bff:fe25:270]:8000 won't work. 192.168.1.2:8000 does work!
Can anyone please help? Or is there another option available to fully add ipv6-support in bridge/AP-mode? Thanks in advance!
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top