blob: 101f09b087a3021c5576c1ed4420a62c8b98e448 [file] [log] [blame]
Neale Ranns32e1c012016-11-22 17:07:28 +00001packet-generator new {
2 name x
3 limit 1
4 node ip4-input
Damjan Marionc47ed032017-01-25 14:18:03 +01005 size 512-512
Neale Ranns32e1c012016-11-22 17:07:28 +00006 data {
7 ICMP: 1.0.0.2 -> 232.1.1.1
8 ICMP echo_request
9 incrementing 100
10 }
11}
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