Knowledge Base

Troubleshooting IPv6 Default Router Configuration on BSD Systems

If you've already set the ipv6_defaultrouter in your rc.conf file but are experiencing issues with IPv6 connectivity, you may need to manually add the default route. This is due to a known issue where the rc system doesn't properly set up the default route, only adding it as a regular route.

Follow these steps to manually add the IPv6 default route:

  1. Ensure you have the correct IPv6 default router address. You can find this in your hosting control panel (e.g., Linveo Control Panel).

  2. Open a terminal or SSH session to your BSD system.

  3. Run the following command, replacing <ipv6_default_router> with your actual IPv6 default router address:

    route -6 add default <ipv6_default_router>

    For example, if your IPv6 default router is 2001:db8::1, the command would be:

    route -6 add default 2001:db8::1
  4. After running this command, your system should use the specified IPv6 address as the default router.

  5. Test your IPv6 connectivity to ensure the change has taken effect.

Note: This manual configuration will not persist across reboots. To make it permanent, you may need to add this command to a startup script or investigate further why the rc.conf setting isn't working as expected.

If you continue to experience issues, consider consulting your BSD distribution's documentation or support channels for more specific guidance.

Please rate this article to help us improve our Knowledge Base.

2 1