Configure IPv6 Router Advertisement on Sophos Firewall
An IPv6 client can have an address and still lack a working network. On Sophos Firewall, Router Advertisement, or RA, provides the prefix, default router, and information about whether SLAAC or DHCPv6 is responsible for additional values. DHCPv6 alone does not provide a default gateway.
The most common error is therefore not an incorrect lease range, but an unsuitable combination of RA prefix, flags, and DHCPv6 role. A simple SLAAC network normally only needs an advertised /64 with Autonomous. If a DHCPv6 server is to assign addresses, Managed flag is also required. Other flag points clients to additional DHCPv6 parameters such as DNS or Domain Name.
⚠️ An incorrect Router Advertisement can change addresses or the default router across the entire Layer 2 segment. Document existing RA sources, IPv6 prefixes, and management access before saving. Test the change first in a pilot VLAN with a real client.
Router Advertisement in eight steps
- Define the intended IPv6
/64, client segment, and the required roles of SLAAC and DHCPv6. - Check whether a router is already sending RA messages or Prefix Delegation has automatically created an RA configuration.
- Open
Network > IPv6 router advertisementand select Add. - Select the IPv6-enabled physical interface, LAG, VLAN, or bridge interface for the client segment.
- Set the minimum and maximum advertisement intervals to suit the environment.
- Enable Managed flag, Other flag, and Default gateway only in accordance with the planned client model.
- Add the
/64with On-link, Autonomous, Preferred lifetime, and Valid lifetime. - Save and use a new client run to verify RS, RA, address, default gateway, DNS, and real IPv6 application traffic.
A visible RA entry is not yet proof of success. Only the client shows whether the operating system, prefix, DHCPv6, and default route implement the same plan.
Understand SLAAC, DHCPv6, and the two flags
With SLAAC, the client forms its global IPv6 address from the advertised prefix and its interface identifier. The prefix must allow Autonomous for this to work. The firewall also announces the default router through RA when Default gateway is enabled.
Managed flag means that clients should obtain their IPv6 address from a DHCPv6 server. Sophos explicitly states that this flag should only be used when a DHCPv6 server is available. The complete server procedure is described in Set up and test a DHCPv6 server on Sophos Firewall.
Other flag directs clients to DHCPv6 for additional network parameters. These can include DNS servers, Domain Name, NIS, NISP, SIP, SNTP, and BCMS. The flag does not provide these values itself; DHCPv6 must actually supply them and the client must support them.
Depending on the operating system, a client may create multiple addresses or interpret flags differently. The intended combination must therefore be verified with the client platforms actually in use, rather than inferred solely from the WebAdmin form.
Automatic RA with Prefix Delegation
When IPv6 prefix delegation is selected on an internal interface, SFOS automatically creates a Router Advertisement. The automatically assigned prefix of this RA server cannot be changed. To advertise an additional prefix, create another RA server with that prefix.
Automatic creation is convenient, but must not be overlooked. Before creating a manual RA entry, check which configuration already exists under Network > IPv6 router advertisement. Configure IPv6 Prefix Delegation on Sophos Firewall explains the complete provider, WAN, and delegated-interface procedure.
Plan the example network
The following example uses 2001:db8::/32, which is reserved for documentation. It is not intended for production internet communication and must be replaced with the prefix actually assigned:
- Client segment:
VLAN20 - Firewall address:
2001:db8:20::1/64 - Advertised prefix:
2001:db8:20::/64 - Operating mode: SLAAC with default gateway
- DHCPv6: only for additional DNS parameters, if required
- Test client: a managed device in
VLAN20
The prefix, interface address, and client segment must belong together. An RA configuration copied from another VLAN can give clients a formally valid address that cannot be used by the local routing design.
Configure Router Advertisement
Select the interface and intervals
Under Network > IPv6 router advertisement > Add, first select the client interface. SFOS permits an IPv6-enabled physical interface, LAG, VLAN, or bridge interface. Do not select a WAN or transit interface simply because the provider prefix arrives there; the Layer 2 client segment is what matters.
Min advertisement interval and Max advertisement interval determine the gap between unsolicited RA messages. If the maximum interval is nine seconds or more, SFOS requires the minimum to be 75 percent of the maximum. There is no universal ideal value: changes affect discovery time and message density, so they must only be made with a documented baseline and a client test.
Set flags and the default gateway
For the SLAAC example, leave Managed flag off. Enable Other flag only if a reachable DHCPv6 server actually supplies additional values. Default gateway makes the firewall the advertised default router; the associated time is specified in seconds.
An enabled flag is not proof of functionality. If Managed flag is set but no DHCPv6 server responds, address configuration remains incomplete. If Default gateway is off, a client may still form a global address, but it does not receive a default route from this RA.
Enter the prefix and lifetimes
Enter 2001:db8:20::/64 in the prefix advertisement configuration. On-link tells the client that destinations within this prefix are reachable on the local segment without another router. Autonomous permits automatic address creation through SLAAC.
Preferred lifetime specifies in minutes how long an address is preferred for new connections. It then becomes deprecated but can continue to be used for existing communication. Valid lifetime specifies how long the address remains valid overall. After expiry, it can no longer send or receive. SFOS therefore requires a Valid lifetime that is at least as large as the Preferred lifetime.
For dynamic provider prefixes, these times must not be planned as though the prefix were guaranteed to remain unchanged. A prefix change must be tested with a fresh client run and both existing and new connections.
Handle MTU and neighbor parameters deliberately
The advanced fields control information for IPv6 Neighbor Discovery:
- Link MTU advertises the maximum packet size. At
0, the interface does not advertise MTU information. - Reachable time determines how long a client considers a confirmed neighbor reachable.
- Retransmit time determines the wait before another Neighbor Solicitation.
- Hop limit limits the number of router hops; each router reduces the value.
Do not use these values as general performance-tuning controls. An MTU or neighbor change requires a concrete symptom, a recorded baseline, and renewed tests for large packets, Neighbor Discovery, and real applications.
Verify RA and client behavior
After saving, reconnect the pilot client or renew its IPv6 configuration in a controlled manner. A packet capture using the BPF filter icmp6 must show the client’s Router Solicitation as ICMPv6 Type 133 and the firewall’s Router Advertisement as Type 134.
Then verify the layers separately:
- The RA arrives on the expected interface and from the expected router.
- The prefix, On-link, Autonomous, and flags match the plan.
- The client has the expected global IPv6 address and a default gateway.
- If Managed flag or Other flag is enabled, DHCPv6 supplies the intended values.
- Internal and external DNS names resolve through the planned servers.
- A real IPv6 flow matches the expected Firewall Rule ID and the negative test remains blocked.
Packet Capture in Sophos Firewall WebAdmin explains the WebAdmin capture and its fields. Sophos Firewall IPv6 support and limitations in SFOS 22 remains relevant for the general IPv6 firewall-rule, routing, and VPN matrix.
Troubleshoot systematically
The client sends RS, but the firewall does not respond
Check the interface, IPv6 address, RA status, and any existing automatic Prefix Delegation configuration. Then correlate radvd.log with the test time. A service restart is not the first diagnostic step; configuration, capture, and log evidence should establish the missing response path first.
RA arrives, but the client receives no global address
Compare the advertised /64, Autonomous, and the RA actually received. If Managed flag is enabled, also check DHCPv6 communication over UDP 546 and 547. A visible RA alone is not proof of a complete address assignment.
The client has an address but no default gateway
Check whether Default gateway is enabled and which router lifetime is received in the RA. DHCPv6 cannot replace this missing default route. If several Router Advertisements are visible, also determine which router is actually influencing the client.
Address and gateway are correct, but DNS is missing
When using Other flag or a DHCPv6 model, the DHCPv6 server must actually supply the intended DNS values. Then compare the client request, server response, and local resolver configuration. Setting the flag alone does not create a DNS server.
IPv6 only works partially
Check the route and return path first, followed by the IPv6 firewall rule and Rule ID. For large packets, also compare the Link MTU actually advertised with packet capture and an application test. IPv4 success is not proof of the separate IPv6 data path.
Prefix Delegation created a different prefix
The prefix of an RA configuration created automatically by Prefix Delegation cannot be replaced manually. Check the provider prefix, delegated interface, and existing RA entry together. An additional prefix requires its own RA server and a fully working routing path.
Check Sophos Firewall services and logs using the CLI lists the relevant services and log files, including radvd.log.
Roll back the change
During rollback, disable or remove the new RA entry and restore the previously documented state. Do not treat a configuration created automatically through Prefix Delegation as an independent manual entry; check the underlying interface and delegation setting first.
Then reconnect the client and verify the RA source, address, default gateway, DNS, and a real IPv6 data path again. Do not leave old and new RA sources active in parallel without control.