You can specify prefixes in the router advertisement messages as onlink. When set as onlink, the prefixes are used for onlink determination. By default, prefixes are onlink.
To explicitly set prefixes as onlink, include the on-link statement:
-
on-link;
To set prefixes as not onlink, include the no-on-link statement:
-
no-on-link;
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.