From 2e76ee506d2f1f9f6d8a7902c57c66ea224ca1a4 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Mon, 2 Jul 2018 23:22:12 +0200 Subject: Fixed typo in test/README Change-Id: Ic367f03b92429e288ec99322ce22984fc8e536c9 Signed-off-by: Alberto Compagno --- cicn-plugin/test/README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cicn-plugin/test/README b/cicn-plugin/test/README index 2a33598c..d73fc3f5 100644 --- a/cicn-plugin/test/README +++ b/cicn-plugin/test/README @@ -22,24 +22,24 @@ Vpp1 must contain a pg interface (e.g., pg0) configured with the IP address 192.168.128.245 and be able to forward packet to 192.168.128.1. The following configuration takes care of setting the pg interface, setting 192.168.128.1 reachable through the pg interface and the icn -pg client. It assume that the next cicn hop answer to the ip 192.168.128.2 and +pg client. It assume that the next cicn hop answer to the ip 192.168.129.2 and it is reachable through a local interface with the ip address -192.168.128.3. There ip addresses can be set arbitrarily, modifications must be +192.168.129.3. There ip addresses can be set arbitrarily, modifications must be done in both vpp1 and vpp2. IMPORTANT: In the following example, the port 33301 is used to pass packets to the icn pg client plugin. Modification to such port requires to change the packet definition on the icn-pg file. vpp# exec /icn-pg vpp# set int ip addr pg0 192.168.128.245/24 -vpp# cicn pgen client port 33301 src 192.168.128.3:33301 dest 192.168.128.2:6363 +vpp# cicn pgen client port 33301 src 192.168.129.3:33301 dest 192.168.129.2:6363 To run the icn_pg packet generator script configure vpp as follows. vpp# packet-generator enable Following the example, Vpp2 must be set to be reachable to the ip address -192.168.128.2 and have a face -192.168.128.2:6363<-->192.168.128.3:33301. Moreover vpp2 must be able to forward +192.168.129.2 and have a face +192.168.129.2:6363<-->192.168.129.3:33301. Moreover vpp2 must be able to forward packets (and interest) to the packet generator server. Vpp3 configuration is simple. It must be configured to accept packets from -- cgit 1.2.3-korg