OpenWrt Forum Archive

Topic: Does OpenWRT block IPv6 Advertisements?

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

Hi,

I'm running a WRT54G v1.1 behind a Cisco 1603 router to connect my hosts to the internet. The WRT54G doesn't have any routing-functions, it's just used as a accesspoint to connect all the wireless clients.
The Cisco box is successfully connected to Sixxs via IPv6 and has got a working IPv6-adress from an own subnet. I've also got some computers connected directly to the switch (which means that they're not wireless and that there traffic isn't routed over the WRT54G). They recive all the IPv6-address assignments sent by the Cisco router. Thus these directly connected hosts can use IPv6 without any problems; it works just fine.

Now comes my problem .. The WRT54G (and of course all computers behind it (which means all the wireless connected computers)) doesn't recive *any* of these advertisements. For a more specific analysis I ran tcpdump on a wireless- and on a directly connected host. The directly connected host recived about 2 advertisements every second, the wireless connected host didn't recive any. I also wanted to test this directly on the WRT54G but I couldn't find a tcpdump package with IPv6-support. Anyhow I think it doesn't work there either, since the WRT54G doesn't get a IPv6-address advertised by the Cisco.

My question is: Does OpenWRT block any of these advertisements? If yes, how do I unblock them? If no, what else could be the reason for this strange behaviour?

regards,
phil

Can you try to disable the firewall?

chmod -x /etc/init.d/S45firewall or moving the script to /etc.

Does tcpdump need special ipv6 support compiled in?

Which version of OpenWrt you use?

Have you got ipv6 forwarding enable for you openwrt box ?

Mine is able to forward and receive advertisments. You may need the kmod-ipv6 module.

Ensure you accept encapsulated packets :

iptables -A INPUT -p 41 -j ACCEPT

The discussion might have continued from here.