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 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 6 | packet-generator new { \ |
| 7 | name x \ |
| 8 | limit 1 \ |
| 9 | node ip4-input \ |
| 10 | size 64-64 \ |
| 11 | data { \ |
| 12 | ICMP: 1.0.0.2 -> 2.0.0.2 \ |
| 13 | ICMP echo_request \ |
| 14 | incrementing 100 \ |
| 15 | } \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | tr add pg-input 100 |
| 19 | set int state fake-srp0 up |
| 20 | set int state fake-srp1 up |
| 21 | |
| 22 | set int ip address fake-srp0 1.0.0.1/24 |
| 23 | set int ip address fake-srp1 2.0.0.1/24 |
| 24 | |
| 25 | |
| 26 | |