blob: bfbdad6689151b949a255904c9087392b1f7c6ab [file] [log] [blame]
Dave Barach08eb2bb2020-04-15 09:34:43 -04001set term pag off
2loop cre
3set int ip address loop0 11.22.33.1/24
4set int state loop0 up
5loop cre
6set int ip address loop1 11.22.34.1/24
7set int state loop1 up
8
9set ip neighbor loop1 11.22.34.44 03:00:11:22:34:44
10
11packet-generator new {
12 name s0
13 limit 10000
14 size 128-128
15 interface loop0
16 tx-interface loop1
17 node loop1-output
Mohsin Kazmi68095382021-02-10 11:26:24 +010018 buffer-flags ip4 offload
19 buffer-offload-flags offload-ip-cksum offload-udp-cksum
Dave Barach08eb2bb2020-04-15 09:34:43 -040020 data { IP4: 1.2.3 -> 4.5.6
21 UDP: 11.22.33.44 -> 11.22.34.44
22 ttl 2 checksum 13
23 UDP: 1234 -> 2345
24 checksum 11
25 incrementing 114
26 }
27}