Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 1 | loop create |
2 | set int ip address loop0 192.168.1.1/8 | ||||
3 | set int state loop0 up | ||||
4 | |||||
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 5 | packet-generator new { \ |
6 | name udp \ | ||||
7 | limit 512 \ | ||||
8 | rate 1e4 \ | ||||
9 | node ip4-input \ | ||||
10 | size 100-100 \ | ||||
11 | interface loop0 \ | ||||
12 | data { \ | ||||
13 | UDP: 192.168.1.2 - 192.168.2.255 -> 192.168.1.1 \ | ||||
14 | UDP: 4321 -> 1234 \ | ||||
15 | length 72 \ | ||||
16 | incrementing 100 \ | ||||
17 | } \ | ||||
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 18 | } |