diff options
author | Bin Hu <bh526r@att.com> | 2016-01-01 07:27:40 -0800 |
---|---|---|
committer | Bin Hu <bh526r@att.com> | 2016-01-01 07:27:40 -0800 |
commit | 0aaa5a1195643056260b5dd5753ad3b561fcffb0 (patch) | |
tree | cc9332ca98266924e61c5c2a792c2307c31e2d21 | |
parent | a8a3bf6008957c343b1562b478d1f75e072c91bc (diff) |
JIRA:IPVSIX-29
Change-Id: I93f014d7d6b95f7221e45856567e8a50fe2d500f
Signed-off-by: Bin Hu <bh526r@att.com>
-rw-r--r-- | docs/setupservicevm/4-ipv6-configguide-servicevm.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/setupservicevm/4-ipv6-configguide-servicevm.rst b/docs/setupservicevm/4-ipv6-configguide-servicevm.rst index c252b55..c2842f7 100644 --- a/docs/setupservicevm/4-ipv6-configguide-servicevm.rst +++ b/docs/setupservicevm/4-ipv6-configguide-servicevm.rst @@ -277,11 +277,16 @@ Now let us configure the IPv6 address on the <qr-xxx> interface. .. code-block:: bash - router_interface=$(ip a s | grep -w "global qr-*" | awk '{print $7}') + export router_interface=$(ip a s | grep -w "global qr-*" | awk '{print $7}') ip -6 addr add 2001:db8:0:1::1 dev $router_interface -**SETUP-SVM-26**: Update the file ``/opt/stack/opnfv_os_ipv6_poc/scenario2/radvd.conf`` with ``$router_interface``, -i.e. replace ``$router_interface`` with the ``qr-xxx`` interface. +**SETUP-SVM-26**: Update the sample file ``/opt/stack/opnfv_os_ipv6_poc/scenario2/radvd.conf`` +with ``$router_interface``. + +.. code-block:: bash + + cp /opt/stack/opnfv_os_ipv6_poc/scenario2/radvd.conf /tmp/radvd.$router_interface.conf + sed -i 's/$router_interface/'$router_interface'/g' /tmp/radvd.$router_interface.conf **SETUP-SVM-27**: Spawn a ``radvd`` daemon to simulate an external router. This ``radvd`` daemon advertises an IPv6 subnet prefix of ``2001:db8:0:1::/64`` using RA (Router Advertisement) on its $router_interface so that ``eth0`` @@ -289,7 +294,7 @@ interface of ``vRouter`` automatically configures an IPv6 SLAAC address. .. code-block:: bash - $radvd -C /opt/stack/opnfv_os_ipv6_poc/scenario2/radvd.conf -p /tmp/br-ex.pid.radvd -m syslog + $radvd -C /tmp/radvd.$router_interface.conf -p /tmp/br-ex.pid.radvd -m syslog **SETUP-SVM-28**: Add an IPv6 downstream route pointing to the ``eth0`` interface of vRouter. |