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 | ||||
6 | no-recycle | ||||
7 | data { | ||||
8 | TCP: 1.2.3.4 -> 5.6.7.8 | ||||
9 | TCP: 1234 -> 5678 | ||||
10 | incrementing 100 | ||||
11 | } | ||||
12 | } | ||||
13 | |||||
14 | tr add pg-input 100 | ||||
15 | ip route 5.6.7.8/32 via local | ||||
16 | ip route 1.2.3.4/32 via local |