blob: e3db0ce6be1fec7f99ad83067896c5e8b21b5985 [file] [log] [blame]
Damjan Marion3153f002022-05-14 00:14:02 +02001packet-generator new { \
2 name x \
3 limit 1 \
4 node ip4-input \
5 size 512-512 \
6 data { \
7 ICMP: 1.0.0.2 -> 232.1.1.1 \
8 ICMP echo_request \
9 incrementing 100 \
10 } \
Neale Ranns32e1c012016-11-22 17:07:28 +000011}
12
Damjan Marionc47ed032017-01-25 14:18:03 +010013create packet-generator interface pg1
14create packet-generator interface pg2
15create packet-generator interface pg3
16
17set int state pg1 up
18set int state pg2 up
19set int state pg3 up
Neale Ranns32e1c012016-11-22 17:07:28 +000020
21ip mroute add 232.1.1.1 via pg0 Accept
Damjan Marionc47ed032017-01-25 14:18:03 +010022ip mroute add 232.1.1.1 via pg1 Forward
23ip mroute add 232.1.1.1 via pg2 Forward
24ip mroute add 232.1.1.1 via pg3 Forward