Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

OpenWRT routers: Difference between revisions

m
Tidy up, not assuming /64
(Fixed!)
m (Tidy up, not assuming /64)
There's a gotcha for users who have multiple /64 blocks routed to them by AAISP. OpenWrt uses Policy-Based Routing (PBR) which allows routing to be configured according to multiple rules, not just be destination address.
 
If DHCPv6 is used to request Prefix Delegation (PD), AAISP will reply with one /64 block. OpenWrt uses this to set the LAN address and netmask, and then enables routing from '''just this block''' from LAN to WAN. AnyIf you have multiple /64 blocks, any other /64 blocks routed to you won't be able to send packets to the Internet.
 
To quote from [https://openwrt.org/docs/guide-user/network/routing/basics OpenWrt Wiki - Routing basics] ''Note that by default OpenWrt announces IPv6 default route only for GUA and applies source filter for IPv6 that allows routing only for prefixes delegated from the upstream router.''
 
And for ''lan'':
IPv6: 2001:8b0:9d7xyz:4520:xxxx:xxxx:xxxx:xxxx/64
 
It's the ''ip6assign'' option in the config for the lan which determines that the lan uses a /64.
 
Now I see:
# ip -f inet6 route
...
default from 2001:8b0:xyz:4520::/60 via fe80::9e89:1eff:fe2e:0 dev pppoe-wan metric 512
...
 
= Enabling IPv6 in the local network =
editor
471

edits