OLSRv2 Plugin

From OLSR.org Wiki
Jump to: navigation, search

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).

Configuration

The Olsrv2 plugin adds two configuration sections named olsrv2 and domain.

olsrv2 section

The plugin defines the olsrv2 configuration section with seven settings.

Key Default Type Limits
tc_interval 5.0 clock >0.1
tc_validity 300.0 clock >0.1
forward_hold_time 300.0 clock >0.1
processing_hold_time 300.0 clock >0.1
routable -169.254.0.0/16 -127.0.0.0/8 -224.0.0.0/12 -fe80::/10 -::1 -ff00::/8 default_accept acl
lan string
originator -169.254.0.0/16 -127.0.0.0/8 -224.0.0.0/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.

Domain section

The plugin adds four setting to the domain configuration section.

Key Default Type Limits
srcip_routes true boolean
protocol 100 integer 1-254
table 254 integer 1-254
distance 2 integer 1-255

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.