Project

General

Profile

Actions

Bug #11599

closed

Modifying static routes results in a logged error, changes are not reflected in routing table

Added by Roland Volkmann over 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Routing
Target version:
Start date:
03/02/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:
All

Description

When modifying an existing static route, e.g. changing subnet to be routed, the modified route is added to the current routing table instead of replacing the existing route. To get the correct routing table, you have to reboot pfSense.

Example:
Have an existing static route "Destination = 10.0.0.0/8, Gateway = 10.100.0.1, Flags = UGS, netif = hn0", then modify the Destination to 10.0.0.0/24 by GUI "System/Routing/Static Routes", and you will find two entries in routing table (on GUI "Diagnostics/Routes" or on shell "netstat -rn"): The original one and a new one "Destination = 10.0.0.0/24, Gateway = 10.100.0.1, Flags = UGS, netif = hn0".

Actions

Also available in: Atom PDF