[TriLUG] IPv6 and OpenWRT

Igor Partola via TriLUG trilug at trilug.org
Tue Jul 14 22:49:47 EDT 2015


Most likely your OpenWRT installation is lacking radvd and a DHCP server
capable of handing out IPv6. It seems that OpenWRT is moving towards
inclusion of wide-dhcpv6-server by default, and latest builds don't have a
compatible radvd package at all, so you might as well go with that now.
Practically, there is no difference that you'll notice. Here's what I'd do:

First, install wide-dhcpv6-server:
http://wiki.openwrt.org/doc/howto/ipv6#wide-dhcpv6-server. Note that this
will replace your normal DHCP server.

Second, see if your machine called moose gets an address. If not, make sure
the ipv6 kernel module is loaded (lsmod | grep ipv6). If not, update your
kernel.

Lastly, ensure you have firewall rules set up on OpenWRT. Personally, I
allow ICMPv6 and port 22, and block everything else by default. In addition
to that, I white-list some machines to handle their own firewalls such that
I don't always have to go to the router to open a new port on one of the
servers I run at home.

Igor

P.S.: it's best to use the ip (8) command to view these addresses (for
example `ip addr`). It will tell you the type of address it is. For
example, it would tell you that the fe80 address is "link local".


More information about the TriLUG mailing list