blob: eb6bab27bc6a1bb1fce9f2007bcb966f224cd9be [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 no-recycle
7 data {
8 ICMP: 1.0.0.2 -> 232.1.1.1
9 ICMP echo_request
10 incrementing 100
11 }
12}
13
Damjan Marionc47ed032017-01-25 14:18:03 +010014create packet-generator interface pg1
15create packet-generator interface pg2
16create packet-generator interface pg3
17
18set int state pg1 up
19set int state pg2 up
20set int state pg3 up
Neale Ranns32e1c012016-11-22 17:07:28 +000021
22ip mroute add 232.1.1.1 via pg0 Accept
Damjan Marionc47ed032017-01-25 14:18:03 +010023ip mroute add 232.1.1.1 via pg1 Forward
24ip mroute add 232.1.1.1 via pg2 Forward
25ip mroute add 232.1.1.1 via pg3 Forward