mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
fix set system sysctl custom ... to receive and accept RAs on an interface
This commit is contained in:
parent
68888e8171
commit
324adc4393
@ -165,13 +165,11 @@ Prefix information is described in `RFC4861 section 4.6.2`_
|
|||||||
|
|
||||||
**Receiving Router Advertisements**
|
**Receiving Router Advertisements**
|
||||||
|
|
||||||
To receive and accept RAs on an interface, you need to enable it via sysctl with the following command (as root):
|
To receive and accept RAs on an interface, you need to enable it with the following configuration command
|
||||||
|
|
||||||
``sysctl -w net.ipv6.conf.<interface>.accept_ra=2``
|
|
||||||
|
|
||||||
The change is not reboot-persistent, so it either needs to be redone every time or added via ``set system sysctl ...`` to configuration
|
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
vyos@vyos# set system sysctl custom net.ipv6.conf.<interface name>.accept_ra value 2
|
||||||
|
|
||||||
|
|
||||||
.. _`RFC4861 section 4.6.2`: https://tools.ietf.org/html/rfc4861#section-4.6.2
|
.. _`RFC4861 section 4.6.2`: https://tools.ietf.org/html/rfc4861#section-4.6.2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user