Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 1 | tap connect tap0 |
| 2 | set int state tap-0 up |
| 3 | set int ip address tap-0 1::1/64 |
| 4 | packet-generator new { |
| 5 | name hbh1 |
| 6 | limit 1 |
| 7 | node ip6-input |
| 8 | size 48-48 |
| 9 | no-recycle |
| 10 | data { |
| 11 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 12 | hex 0x3B00010403040506 |
| 13 | incrementing 100 |
| 14 | } |
| 15 | } |
| 16 | packet-generator new { |
| 17 | name hbh2 |
| 18 | limit 1 |
| 19 | node ip6-input |
| 20 | size 48-48 |
| 21 | no-recycle |
| 22 | data { |
| 23 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 24 | hex 0x3B00C10403040506 |
| 25 | incrementing 100 |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | packet-generator new { |
| 30 | name hbh3 |
| 31 | limit 1 |
| 32 | node ip6-input |
| 33 | size 48-48 |
| 34 | no-recycle |
| 35 | data { |
| 36 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 37 | hex 0x3BffC10403040506 |
| 38 | incrementing 100 |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | packet-generator new { |
| 43 | name hbh4 |
| 44 | limit 1 |
| 45 | node ip6-input |
| 46 | size 64-64 |
| 47 | no-recycle |
| 48 | data { |
| 49 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 50 | hex 0x3BffC10403040506 |
| 51 | incrementing 100 |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | packet-generator new { |
| 56 | name hbh5 |
| 57 | limit 1 |
| 58 | node ip6-input |
| 59 | size 56-56 |
| 60 | no-recycle |
| 61 | data { |
| 62 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 63 | length 16 |
| 64 | hex 0x3B010104030405060106030405060708 |
| 65 | incrementing 100 |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | packet-generator new { |
| 70 | name hbh6 |
| 71 | limit 1 |
| 72 | node ip6-input |
| 73 | size 56-56 |
| 74 | no-recycle |
| 75 | data { |
| 76 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 |
| 77 | length 16 |
| 78 | hex 0x3a00050200000100 |
| 79 | ICMP echo_request |
| 80 | incrementing 100 |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | tr add pg-input 100 |