blob: 571c6b79a8c70202de79392eff0709130ad2a5f4 [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
6 no-recycle
7 data {
8 ICMP: 1.2.3.4 -> 5.6.7.8
9 ICMP echo_request
10 incrementing 100
11 }
12}
13
14tr add pg-input 100
15set interface ip source-check pg/stream-0
16ip route 1.2.3.4/32 via pg/stream-0 0x01020304
17ip route 5.6.7.8/32 via drop
18