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 |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 6 | data { |
| 7 | IP6: 1.2.3 -> 4.5.6 |
Neale Ranns | 044183f | 2017-01-24 01:34:25 -0800 | [diff] [blame] | 8 | ICMP: 3002::2 -> 3001::2 |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 9 | ICMP echo_request |
| 10 | incrementing 100 |
| 11 | } |
| 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 | |
| 23 | set ip6 neighbor loop0 2001:1::2 00:00:DD:EE:AA:DD |
| 24 | set ip6 neighbor loop1 2001:2::2 00:00:DD:EE:AA:EE |
| 25 | |
| 26 | ip route add 3001::/64 via 2001:2::2 loop1 |
| 27 | |
| 28 | trace add pg-input 100 |