Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame^] | 1 | srp create-interfaces |
2 | srp create-interfaces | ||||
3 | set int hw-class fake-srp0 srp | ||||
4 | set int hw-class fake-srp1 srp | ||||
5 | |||||
6 | packet-generator new { | ||||
7 | name x | ||||
8 | limit 1 | ||||
9 | node ip4-input | ||||
10 | size 64-64 | ||||
11 | no-recycle | ||||
12 | data { | ||||
13 | ICMP: 1.0.0.2 -> 2.0.0.2 | ||||
14 | ICMP echo_request | ||||
15 | incrementing 100 | ||||
16 | } | ||||
17 | } | ||||
18 | |||||
19 | tr add pg-input 100 | ||||
20 | set int state fake-srp0 up | ||||
21 | set int state fake-srp1 up | ||||
22 | |||||
23 | set int ip address fake-srp0 1.0.0.1/24 | ||||
24 | set int ip address fake-srp1 2.0.0.1/24 | ||||
25 | |||||
26 | |||||
27 |