blob: 7a6608e26674dc540b2af6ebfd07484048fb54d5 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001packet-generator new {
2 name x
3 limit 1
4 node ip4-input
5 size 64-64
Ed Warnickecb9cada2015-12-08 15:45:58 -07006 data {
7 ICMP: 1.2.3.4 -> 5.6.7.8
8 ICMP echo_request
9 incrementing 100
10 }
11}
12
13tr add pg-input 100
14set interface ip source-check pg/stream-0
15ip route 1.2.3.4/32 via pg/stream-0 0x01020304
16ip route 5.6.7.8/32 via drop
17