What's new

How do I enable ipv6 router advertisement on br1?

  • 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!

jea101

Regular Contributor
solved How to enable ipv6 router advertisement on br1?

I am using the default br0 (VLAN 1) as my wireless VLAN

I added a new bridge (br1) with VLAN 3 (eth0.3) using the following scripts (my wired LAN)
Code:
admin@RT-AC56U-BF10:/jffs/scripts# cat  services-start
#!/bin/sh
touch /tmp/000brstarted
# add vlan 3 to eth0
ip link add link eth0 name eth0.3 type vlan id 3
ip link set dev eth0.3 up
# add vlan 3 (eth0.3) to br1
brctl addbr br1
brctl addif br1 eth0.3
ifconfig br1 192.168.xxx.1 netmask 255.255.255.0 broadcast 192.168.xxx.255
ip -6 addr add 2001:470:xxxx:1::1/64 dev br1
robocfg vlan 1 ports "0 1 3t 8t"
robocfg vlan 3 ports "2 3t 8t"
# iptables -I INPUT -i br1 -j ACCEPT
# iptables -I FORWARD -i br1 -j ACCEPT
exit
#

Code:
admin@RT-AC56U-BF10:/jffs/scripts# cat firewall-start
#!/bin/sh
touch /tmp/000fwstarted
iptables -I INPUT -i br1 -j ACCEPT
iptables -I FORWARD -i br1 -j ACCEPT
exit
#
How do I enable ipv6 router advertisement on br1?

I believe I need to put something in /jffs/configs/dnsmasq.conf.add

Also what do I need to add to ip6tables?
 
Last edited:
Not my area of expertise, but I suspect you might need to modify dnsmasq's configuration - it's the service that handles RAs.
 
I got RA working but DNSv6 servers aren’t being supplied to windows 7 PCs.

My dnsmasq.conf.add

Code:
admin@RT-AC56U-BF10:/jffs/configs# cat dnsmasq.conf.add

interface=br1

dhcp-range=br1,::,constructor:br1,ra-stateless,64,7200s

dhcp-option=br1,option6:dns-server,[2001:470:xxxx:1::251]

dhcp-option=br1,option6:dns-server,[2001:470:xxxx:1::252]

dhcp-option=br1,option6:dns-server,[2001:470:xxxx:1::1]

My firewall-start script

Code:
admin@RT-AC56U-BF10:/jffs/scripts# cat firewall-start

#!/bin/sh

touch /tmp/000fwstarted

iptables -I INPUT -i br1 -j ACCEPT

iptables -I FORWARD -i br1 -j ACCEPT

ip6tables -I INPUT -i br1 -j ACCEPT

ip6tables -I FORWARD -i br1 -j ACCEPT

exit

#
 
My corrected dnsmasq.conf.add

Code:
interface=br1
dhcp-range=br1,::,constructor:br1,ra-stateless,64,7200s
dhcp-option=br1,option6:dns-server,[2001:470:XXXX:1::251],[2001:470:XXXX:1::252],[2001:470:XXXX:1::1]
 
I've noticed this as well, this version of DNSmasq doesn't send over custom DNS servers - it still sends its self as a DNS Server for clients no matter what you set. I haven't had time to debug now that I'm on a new router, but I may simply try to replace the binary and see how it works.
 
With my corrected dnsmasq.conf.add it is sending my servers for br1.

I haven’t tried changing the br0 servers
 

Similar threads

Sign Up For SNBForums Daily Digest

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