Difference between revisions of "IPv6 Router Advertisements"

From VyOS Wiki
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
 
= Router Advertisements =
 
= Router Advertisements =
 
Router advertisements are described in https://tools.ietf.org/html/rfc4861#section-4.2 .<br>
 
Router advertisements are described in https://tools.ietf.org/html/rfc4861#section-4.2 .<br>
 +
 +
Supported interface types:
 +
* bonding
 +
* bridge
 +
* ethernet
 +
* l2tpv3
 +
* openvpn
 +
* psuedo-ethernet
 +
* tunnel
 +
* vxlan
 +
* wireless
 +
* wirelessmodem
  
 
To enable or disable, use
 
To enable or disable, use
 
<pre>
 
<pre>
set interfaces ethernet eth0 ipv6 router-advert send-advert <true or false>
+
set interfaces <interface> ipv6 router-advert send-advert <true or false>
 
</pre>
 
</pre>
  
 
To set the options described in "Router Advertisement Message Format", start from
 
To set the options described in "Router Advertisement Message Format", start from
 
<pre>
 
<pre>
set interfaces ethernet <interface> ipv6 router-advert
+
set interfaces <interface> ipv6 router-advert
 
</pre>
 
</pre>
 
With sub-options:
 
With sub-options:
Line 46: Line 58:
 
To set the fields described, start from
 
To set the fields described, start from
 
<pre>
 
<pre>
set interfaces ethernet <interface> ipv6 router-advert prefix <h:h:h:h:h:h:h:h/x>
+
set interfaces <interface> ipv6 router-advert prefix <h:h:h:h:h:h:h:h/x>
 
</pre>
 
</pre>
  
Line 75: Line 87:
 
Starting from
 
Starting from
 
<pre>
 
<pre>
set interfaces ethernet <interface> ipv6 router-advert
+
set interfaces <interface> ipv6 router-advert
 
</pre>
 
</pre>
 
There are the following additional options:
 
There are the following additional options:

Revision as of 23:15, 9 April 2015

Router Advertisements

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

Supported interface types:

  • bonding
  • bridge
  • ethernet
  • l2tpv3
  • openvpn
  • psuedo-ethernet
  • tunnel
  • vxlan
  • wireless
  • wirelessmodem

To enable or disable, use

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

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

set interfaces <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 <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 <interface> ipv6 router-advert

There are the following additional options: