From 66d1e9eb583af971cbc52a618436eaeb330a9ac2 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Mon, 30 Dec 2024 17:20:42 +0100 Subject: [PATCH] docs(setup): Added example for running traffic after setup Signed-off-by: Tuan-Dat Tran --- scripts/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/README.md b/scripts/README.md index 8c8d183..2f72a3c 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -136,6 +136,18 @@ These scripts are executed by [./10-host_setup.sh](./10-host_setup.sh). From here on out you can run traffic between the hosts. +Example: + +```sh +# On node1 +sudo ip netns exec tb_node1_if0 python3 receiver.py 10.0.2.1 30123 30123 +``` + +```sh +# On node2 +sudo ip netns exec tb_node2_if0 python3 sender.py 10.0.1.1 30123 30123 100 128 +``` + ## Appendix ### Node and Wedge Ports