From 324adc4393c4eb59f7ee0143be37d189402dbffd Mon Sep 17 00:00:00 2001 From: rebortg Date: Wed, 8 May 2019 16:11:56 +0200 Subject: fix set system sysctl custom ... to receive and accept RAs on an interface --- docs/interfaces/addresses.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/interfaces/addresses.rst b/docs/interfaces/addresses.rst index 6879b785..51d2e7e5 100644 --- a/docs/interfaces/addresses.rst +++ b/docs/interfaces/addresses.rst @@ -165,13 +165,11 @@ Prefix information is described in `RFC4861 section 4.6.2`_ **Receiving Router Advertisements** -To receive and accept RAs on an interface, you need to enable it via sysctl with the following command (as root): - -``sysctl -w net.ipv6.conf..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 +To receive and accept RAs on an interface, you need to enable it with the following configuration command +.. code-block:: sh + vyos@vyos# set system sysctl custom net.ipv6.conf..accept_ra value 2 .. _`RFC4861 section 4.6.2`: https://tools.ietf.org/html/rfc4861#section-4.6.2 -- cgit v1.2.3