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