incorrect route deletion on 2.5
All code that uses “delete route” must use the full format with GW, i.e.
# route delete -inet 220.127.116.11/24 route: route has not been found delete net 18.104.22.168 fib 0: not in table
# route delete -inet 22.214.171.124/24 10.1.0.254 delete net 126.96.36.199: gateway 10.1.0.254
no such issue with 2.4.4-p3 and 2.4.5
it seems FreeBSD 12 issue
Same issue as https://redmine.pfsense.org/issues/9969
#4 Updated by Viktor Gurov 10 months ago
Jim Pingle wrote:
It is possible this may fix itself once we move to a 12.1 base, it may be a problem specific to 12.0.
Tested on clean FreeBSD 12.0 - no such issue
it seems pfSense specific (special patches for routing/FIB ?)
In any case it is more correct use full syntax (with $gateway),
because you can have few routes (created in different ways - static route, General Setup / DNS, FRR) to the same destination,
and the 'old way' will delete them all