IPv6 Router Advertisements

From VyOS Wiki
Revision as of 23:03, 9 April 2015 by Srn (talk | contribs) (Created page with "= Router Advertisements = Router advertisements are described in https://tools.ietf.org/html/rfc4861#section-4.2 .<br> To enable or disable, use <pre> set interfaces ethernet...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Router Advertisements

Router advertisements are described in https://tools.ietf.org/html/rfc4861#section-4.2 .

To enable or disable, use

set interfaces ethernet eth0 ipv6 router-advert send-advert <true or false>

To set the options described in "Router Advertisement Message Format", start from

set interfaces ethernet <interface> ipv6 router-advert

With sub-options:

RFC Field VyOS Config Option
Cur Hop Limit cur-hop-limit
"Managed address configuration" flag managed-flag
"Other configuration" flag other-config-flag
Router Lifetime default-lifetime
Reachable Time reachable-time
Retrans Timer retrans-timer
MTU link-mtu
Prefix Information See below

Prefix Information

Prefix information is described in https://tools.ietf.org/html/rfc4861#section-4.6.2

To set the fields described, start from

set interfaces ethernet <interface> ipv6 router-advert prefix <h:h:h:h:h:h:h:h/x>

With sub-options:

RFC Field VyOS Config Option
Prefix Length 'x' in <h:h:h:h:h:h:h:h/x>
on-link flag on-link-flag
autonomous address-configuration flag autonomous-flag
Valid Lifetime valid-lifetime
Preferred Lifetime preferred-lifetime


Miscellaneous Options

Starting from

set interfaces ethernet <interface> ipv6 router-advert

There are the following additional options: