Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 1 | packet-generator new { \ |
| 2 | name x \ |
| 3 | limit 1 \ |
| 4 | node ethernet-input \ |
| 5 | size 64-64 \ |
| 6 | data { \ |
| 7 | IP6: 1.2.3 -> 4.5.6 \ |
| 8 | ICMP: 3002::2 -> 3001::2 \ |
| 9 | ICMP echo_request \ |
| 10 | incrementing 100 \ |
| 11 | } \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 12 | } |
| 13 | |
Neale Ranns | 044183f | 2017-01-24 01:34:25 -0800 | [diff] [blame] | 14 | |
| 15 | loop create |
| 16 | loop create |
| 17 | set int state loop0 up |
| 18 | set int state loop1 up |
| 19 | |
| 20 | set int ip address loop0 2001:1::1/64 |
| 21 | set int ip address loop1 2001:2::1/64 |
| 22 | |
ShivaShankarK | b0f956c | 2020-03-18 15:34:11 +0530 | [diff] [blame] | 23 | set ip neighbor loop0 2001:1::2 00:00:DD:EE:AA:DD |
| 24 | set ip neighbor loop1 2001:2::2 00:00:DD:EE:AA:EE |
Neale Ranns | 044183f | 2017-01-24 01:34:25 -0800 | [diff] [blame] | 25 | |
| 26 | ip route add 3001::/64 via 2001:2::2 loop1 |
| 27 | |
| 28 | trace add pg-input 100 |