summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasufumi Ogawa <yasufum.o@gmail.com>2019-07-03 15:09:40 +0900
committerYasufumi Ogawa <yasufum.o@gmail.com>2019-07-03 20:39:11 +0900
commitcbd9774cde2ed1c4121441daaac39e23703416c3 (patch)
tree274a10f62c611d3ec0b6a5dd1af4a7b0c18c9dd6
parente1b1e6452091e6290d17fd8fddb05953fbc4f031 (diff)
downloadspp-cbd9774cde2ed1c4121441daaac39e23703416c3.zip
spp-cbd9774cde2ed1c4121441daaac39e23703416c3.tar.gz
spp-cbd9774cde2ed1c4121441daaac39e23703416c3.tar.xz
docs: fix incorrect setup in spp_mirror usecase
This update is to move a step of capturing with tcpdump to after the end of network configuration. Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
-rw-r--r--docs/guides/usecases/spp_mirror.rst42
1 files changed, 17 insertions, 25 deletions
diff --git a/docs/guides/usecases/spp_mirror.rst b/docs/guides/usecases/spp_mirror.rst
index 1fcd8b0..b867adf 100644
--- a/docs/guides/usecases/spp_mirror.rst
+++ b/docs/guides/usecases/spp_mirror.rst
@@ -316,24 +316,6 @@ Add classifier table entries.
spp > vf 1; classifier_table add mac 52:54:00:12:34:58 ring:1
-To capture incoming packets on ``VM1``, use tcpdump for the interface,
-``ens4`` in this case.
-
-.. code-block:: console
-
- # terminal 5
- # capture on ens4 of VM1
- $ tcpdump -i ens4
-
-You send packets from the remote ``host1`` and confirm packets are received.
-IP address is the same as :ref:`Usecase of spp_vf<spp_usecases_vf>`.
-
-.. code-block:: console
-
- # Send packets from host1
- $ ping 192.168.140.21
-
-
Launch spp_mirror
~~~~~~~~~~~~~~~~~
@@ -370,20 +352,30 @@ Add ``ring:0`` as rx port, ``ring:4`` and ``ring:5`` as tx ports.
Receive Packet on VM3
~~~~~~~~~~~~~~~~~~~~~
-You can capture incoming packets on ``VM3``.
-If you capture packet on ``VM1``, the same packet would be captured.
+You can capture incoming packets on ``VM3`` and compare it with on ``VM1``.
+To capture incoming packets , use tcpdump for the interface,
+``ens4`` in this case.
.. code-block:: console
- # capture on ens4 fo VM1 and VM3
- $ tcpdump -i ens4
+ # terminal 5
+ # capture on ens4 of VM1
+ $ tcpdump -i ens4
-Now, you can send packet from the remote host1.
+.. code-block:: console
+
+ # terminal 7
+ # capture on ens4 of VM3
+ $ tcpdump -i ens4
+
+You send packets from the remote ``host1`` and confirm packets are received.
+IP address is the same as :ref:`Usecase of spp_vf<spp_usecases_vf>`.
.. code-block:: console
- # spp-vm1 via NIC0 from host1
- $ ping 192.168.140.21
+ # Send packets from host1
+ $ ping 192.168.140.21
+
Stop Mirroring