docs(setup): Added example for running traffic after setup

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-30 17:20:42 +01:00
parent 79ab026508
commit 66d1e9eb58

View File

@@ -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