blob: a2e3205a21e671debb7483cfdf1a00ae47423cb7 [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
18 buffer-flags ip4 offload-ip-cksum offload-udp-cksum
19 data { IP4: 1.2.3 -> 4.5.6
20 UDP: 11.22.33.44 -> 11.22.34.44
21 ttl 2 checksum 13
22 UDP: 1234 -> 2345
23 checksum 11
24 incrementing 114
25 }
26}