blob: 66f3caebf63a6f4ad8864d6719ebb8683a0ec61e [file] [log] [blame]
Dave Barachb97641c2019-09-09 16:38:17 -04001set term pag off
2loop create
3loop create
4set int ip address loop0 192.168.1.1/24
5set int state loop0 up
6
7set int ip address loop1 192.168.2.1/24
8set int state loop1 up
9
10packet-generator new {
11 name pg0
12 limit 1
13 size 300-300
14 interface loop0
15 node ethernet-input
16 data { IP4: 1.2.3 -> 4.5.6
17 UDP: 192.168.1.10 -> 192.168.2.10
18 UDP: 1234 -> 2345
19 incrementing 286
20 }
21}
22
23packet-generator new {
24 name pg1
25 limit 1
26 size 300-300
27 interface loop1
28 node ethernet-input
29 data { IP4: 1.2.3 -> 4.5.6
30 UDP: 192.168.2.10 -> 192.168.1.10
31 UDP: 1234 -> 2345
32 incrementing 286
33 }
34}