You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Implement Link-Local Next Hop Capability procedures
Implements the wire-encoding and configuration for LLNH (code 77)
per draft-ietf-idr-linklocal-capability:
- Add _encode_nexthop() for LLNH-aware next-hop encoding:
- 16-byte: link-local only or global only
- 32-byte: global + link-local (always this order per RFC)
- Add local-link-local config for explicit LLA in next-hop
- Add link-local-prefer config for receiver forwarding preference
- Add is_multihop() to exclude LLA when TTL > 1 (not directly connected)
- Add link_local_address() and link_local_prefer() to Negotiated
- Validate local-link-local is fe80::/10
Configuration:
neighbor X {
local-link-local fe80::1;
capability {
link-local-nexthop enable;
link-local-prefer enable;
}
}
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments