diff options
author | rebortg <github@ghlr.de> | 2019-05-08 16:11:56 +0200 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2019-05-08 16:11:56 +0200 |
commit | 324adc4393c4eb59f7ee0143be37d189402dbffd (patch) | |
tree | c3488227f5ecc2f46fb0ed396fc3e55edeee1132 /docs/interfaces | |
parent | 68888e8171ac71204e80129ea3885257c0071741 (diff) | |
download | vyos-documentation-324adc4393c4eb59f7ee0143be37d189402dbffd.tar.gz vyos-documentation-324adc4393c4eb59f7ee0143be37d189402dbffd.zip |
fix set system sysctl custom ... to receive and accept RAs on an interface
Diffstat (limited to 'docs/interfaces')
-rw-r--r-- | docs/interfaces/addresses.rst | 8 |
1 files changed, 3 insertions, 5 deletions
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.<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 +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.<interface name>.accept_ra value 2 .. _`RFC4861 section 4.6.2`: https://tools.ietf.org/html/rfc4861#section-4.6.2 |