Here are a couple of relevant configs. HTH... Dave
VPP UUT configuration: set int ip address FortyGigabitEthernet1/0/0 192.168.40.1/24 set int ip address FortyGigabitEthernet1/0/1 192.168.41.1/24 set int state FortyGigabitEthernet1/0/0 up set int state FortyGigabitEthernet1/0/1 up ip route add 192.168.50.10/32 via 192.168.41.2 ip route add 192.168.51.10/32 via 192.168.40.2 VPP traffic generator: set term pag off set int ip address FortyGigabitEthernet1/0/0 192.168.40.2/24 set int ip address FortyGigabitEthernet1/0/1 192.168.41.2/24 set int state FortyGigabitEthernet1/0/0 up set int state FortyGigabitEthernet1/0/1 up comment { send traffic to the VPP UUT } packet-generator new { name worker0 worker 0 limit 0 rate 1.2e7 size 128-128 tx-interface FortyGigabitEthernet1/0/0 node FortyGigabitEthernet1/0/0-output data { IP4: 1.2.40 -> 3cfd.fed0.b6c8 UDP: 192.168.40.10 -> 192.168.50.10 ttl 3 UDP: 1234 -> 2345 incrementing 114 } } packet-generator new { name worker1 worker 1 limit 0 rate 1.2e7 size 128-128 tx-interface FortyGigabitEthernet1/0/1 node FortyGigabitEthernet1/0/1-output data { IP4: 1.2.4 -> 3cfd.fed0.b6c9 UDP: 192.168.41.10 -> 192.168.51.10 UDP: 1234 -> 2345 incrementing 114 } } comment { delete return traffic on sight } ip route add 192.168.50.0/24 via drop ip route add 192.168.51.0/24 via drop From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Yaser Azfar Sent: Tuesday, January 12, 2021 4:55 PM To: fdio+vpp-...@groups.io Subject: [vpp-dev] vpp packet generator scripts Hi team, For the packet generator scripts located in src/scripts/vnet is there any documentation on the way these scripts are structured so that I can better understand the commands? Also are there any examples of an interest packet being generated and received or an example of a packet being sent and received between two different machines? I am fairly new to networking and am struggling with this so any help would be greatly appreciated, Thank you
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18512): https://lists.fd.io/g/vpp-dev/message/18512 Mute This Topic: https://lists.fd.io/mt/79636283/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-