-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICMP6 Router Advertisement feature #439
base: master
Are you sure you want to change the base?
Conversation
This commit adds "Router Advertisement" feature which emits periodic Neighbor Discovery ICMPv6 Router Advertisement (RA) messages announcing routes on other network interfaces related to Thread network. The routes included in RA message mirror all the routes added on the host primary interface (from `IPv6:Routes`) corresponding to off-mesh routes and/or on-mesh prefixes within the Thread network. This feature can be enabled through property `RouterAdvert:Enable` (by default it is disabled) and its behavior can modified through a group of wpan properties (all start with prefix `RouterAdver`). A readme/guide is also added under doc folder which describes the wpan properties and shows example use/behavior of this feature.
RFC 4861 Section 4.2 requires the Router Advertisement's IPv6 Hop Limit field to be set to 255. However, in testing, the IPv6 Hop Limit field is being set to 1, which is the Linux default for multicast messages. I think you need to set the |
Thanks. Added code to set the hop limit to 255 in the new commit 39c472d.
|
This commit adds prefix info option to RA (multiple prefixes) Also adds a property to allow user to disable "Router Info" option in RA.
This commit adds "Router Advertisement" feature which emits periodic
Neighbor Discovery ICMPv6 Router Advertisement (RA) messages
announcing routes on other network interfaces related to Thread
network.
The routes included in RA message mirror all the routes added on the
host primary interface (from
IPv6:Routes
) corresponding to off-meshroutes and/or on-mesh prefixes within the Thread network.
This feature can be enabled through property
RouterAdvert:Enable
(bydefault it is disabled) and its behavior can modified through a group
of wpan properties (all start with prefix
RouterAdver
).A readme/guide is also added under doc folder which describes the wpan
properties and shows example use/behavior of this feature.