UniFi Routing and WAN
WAN, IPv6, dynamic routing, local DNS, QoS and jumbo frames on UniFi gateways.
Documentation: Multi-WAN · IPv6 · OSPF · DNS Records · Smart Queues · Jumbo Frames
Multi-WAN #
- Modes are failover and load balancing, with weights for load balancing.
- A second WAN as pure failover is the simplest and most predictable.
- The maximum number of WANs was not confirmed.
IPv6 #
- WAN: SLAAC, DHCPv6 or static.
- Enter the prefix delegation size your ISP gives you.
- Check each internal network’s IPv6 setting separately. Details of the options were not read.
Dynamic Routing #
OSPF is supported. Neighbours must match hello and dead timers, area and MTU. BGP and OSPF sit under Policy Table, Dynamic Routing in recent releases. BGP configuration was not verified.
Local DNS #
Local DNS records support A, AAAA, CNAME, MX, TXT and SRV. They resolve only for clients that use the gateway as their DNS server. If clients use a Pi-hole or another resolver, put the records there. See dnsmasq DHCP and DNS and Reverse Proxy Patterns for split-horizon names.
QoS #
- Smart Queues suits connections under about 300 Mbps. Do not use it on faster links.
- QoS rules disable hardware offload, which can cut throughput on gigabit and faster links.
Jumbo Frames #
Typical MTU is 9216 and every device in the path must support it. Enable it only where you need it, for example storage networks.
Not Verified #
Number of WANs, BGP, DDNS, DNS Shield, static route detail, and hardware offload numbers.