blob: c7628f49b132b89d7f318ce91535523dd7a2717f [file] [log] [blame]
Dave Barach68b0fb02017-02-28 15:15:56 -05001loop create
Florin Coras6cf30ad2017-04-04 23:08:23 -07002set int ip address loop0 6.0.0.1/32
Dave Barach68b0fb02017-02-28 15:15:56 -05003set int state loop0 up
4
5packet-generator new {
6 name udp
7 limit 512
8 rate 1e4
9 node ip4-input
10 size 100-100
11 interface loop0
12 no-recycle
13 data {
14 UDP: 192.168.1.2 - 192.168.2.255 -> 192.168.1.1
15 UDP: 4321 -> 1234
16 length 72
17 incrementing 100
18 }
19}
Florin Coras6cf30ad2017-04-04 23:08:23 -070020session enable