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