Regression #11594
closed
IPv6 routes with a prefix length of 128 result in an invalid route table entry
Added by Viktor Gurov over 3 years ago.
Updated over 3 years ago.
Description
After adding fc00:1234::1234/128 via fc00:129::bbbb route, I see an invalid route in the routing table:
illegal prefixlen
7400:2a20::/0 fc00:129::bbbb UGS vtnet1
Using `-net` argument with /128 netmask produces invalid routes, i.e.:
# /sbin/route add -net -inet6 fc00:aaaa::1/128 fc00:129::bbbb
add net fc00:aaaa::1/128: gateway fc00:129::bbbb
# netstat -rn | grep fc00:129::bbbb
illegal prefixlen
7400:2a20::/0 fc00:129::bbbb UGS vtnet1
seems `route(8)` bug
fix/workaround:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/167
- Status changed from New to Pull Request Review
- Target version set to CE-Next
- Target version changed from CE-Next to 2.5.1
- Status changed from Pull Request Review to Waiting on Merge
- Assignee set to Viktor Gurov
PR has been merged. Thanks!
- Status changed from Waiting on Merge to Feedback
Cherry-picked to RELENG_2_5_1
- Subject changed from Unable to add static IPv6 routes to IPv6 routes with a prefix length of 128 result in an invalid route table entry
Updating subject for release notes.
- Status changed from Feedback to Closed
Also available in: Atom
PDF