The OLSRv2 Plugin is a dualstack and multitopology capable implementation of IETF RFC 7181: Optimized Link State Routing Protocol v2.
The MPR logic and implementation has been put into the NHDP Plugin because it only changes the behavior of NHDP.
The dualstack optimization code was developed by Henning Rogge and has been sent to the IETF Manet WG as a private draft.
The multitopology implementation is compliant to the IETF Manet WG draft (which should become a RFC soon).
The Olsrv2 plugin adds two configuration sections named olsrv2 and domain.
The plugin defines the olsrv2 configuration section with seven settings.
|routable||-169.254.0.0/16 -127.0.0.0/8 -22.214.171.124/12 -fe80::/10 -::1 -ff00::/8 default_accept||acl|
|originator||-169.254.0.0/16 -127.0.0.0/8 -126.96.36.199/12 -fe80::/10 -::1 -ff00::/8 default_accept||acl|
tc_interval defines the time between two TC messages.
tc_validity defines the validity time of the TC messages.
forward_hold_time defines the time until the router will forget an entry in its forwarding duplicate database.
processing_hold_time defines the time until the router will forget an entry in its processing duplicate database.
routable defines the ACL which declares an IP address routable. Other IP addresses will not be included in TC messages.
lan defines the locally attached network prefixes (similar to HNAs in OLSR v1). A LAN entry is a IP address/prefix, followed (optionally) by up to three key=value pairs defining the metric cost, hopcount distance and domain of the LAN ( <metric=...> <dist=...> <domain=...> ).
originator defines the ACL which declares a valid originator IP address for the router.
The plugin adds four setting to the domain configuration section.
srcip_routes defines if the router sets the originator address as the source-ip entry into the local routing entries.
protocol defines the protocol number for the local routing entries.
table defines the routing table for the local routing entries.
distance defines the 'metric' (hopcount) of the local routing entries.