Project

General

Profile

Actions

Feature #3718

open

radvd - enhancement proposal: ability to advertise routes and some fixes - patches attached

Added by Marc Posch over 10 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
IPv6 Router Advertisements (radvd/rtsold)
Target version:
-
Start date:
06/22/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

Hi,

I was configuring radvd on two back-to-back firewalls with an in-between subnet and I was missing the feature to be able to push static IPv6 routes for subnets behind the back firewall to the clients in this subnet - which I was doing with DHCP option 121 and 249 in the IPv4 world.
My research led me so far, that I needed to configure radvd to push out the routes to the clients, and I set out to enhance pfsense with this feature.
While patching the code, I also noted, that radvd.conf would not include any additional RA subnets and and DNS suffixes configured on the web interface, so I fixed that on the way.

My changes would introduce a new sub-section called "routes" under the section "dhcpdv6" in config.xml as shown in this example:


<dhcpdv6>
...
<wan>
<ramode>managed</ramode>
<rapriority>medium</rapriority>
<rainterface>wan_vip31</rainterface>
<radomainsearchlist/>
<subnets>
<item>fdfd:3f23:25b0:128::/64</item>
</subnets>
<routes>
<item>
<destination>fdfd:3f23:25b0:101::/64</destination>
<priority>high</priority>
</item>
<item>
<destination>2001:xxxx:xxxx:101::/64</destination>
<priority>high</priority>
</item>
<item>
<destination>::/0</destination>
<priority>low</priority>
</item>
</routes>
</wan>
...

I would be very happy if my enhancement and fix proposals would be help-/useful and if they would make their way in some form into a future release. Please do not hesitate to ask me if there are open questions.

My version is 2.1.3-RELEASE (i386).

Regards,
Marc


Files

services_router_advertisements.png (56.8 KB) services_router_advertisements.png Screenshot showing the added ability to define routes and priority Marc Posch, 06/22/2014 05:23 PM
services_router_advertisements.php.patch (9.73 KB) services_router_advertisements.php.patch Marc Posch, 06/22/2014 05:23 PM
services.inc.patch (5.25 KB) services.inc.patch Marc Posch, 06/22/2014 05:23 PM
radvd-routes-enhancment.patch (17.1 KB) radvd-routes-enhancment.patch Marc Posch, 07/23/2016 09:23 AM
radvd-routes-enhancment-2.3.2.patch (17.6 KB) radvd-routes-enhancment-2.3.2.patch Marc Posch, 07/27/2016 04:16 PM
radvd-routes-enhancment-2.3.4.patch (18 KB) radvd-routes-enhancment-2.3.4.patch Marc Posch, 08/11/2017 04:00 PM
pfSense-radvd.patch (16.9 KB) pfSense-radvd.patch radvd-routes-enhancement-2.4.4.patch Magnus Holmgren, 11/14/2019 10:44 AM
Actions

Also available in: Atom PDF