incorrect route deletion on 2.5
All code that uses “delete route” must use the full format with GW, i.e.
# route delete -inet 188.8.131.52/24 route: route has not been found delete net 184.108.40.206 fib 0: not in table
# route delete -inet 220.127.116.11/24 10.1.0.254 delete net 18.104.22.168: 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 3 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