Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | comment { test sr segment chunk-offset on } |
| 2 | test sr hmac validate on |
| 3 | |
| 4 | comment { trunk to ludd-cluster-1 } |
| 5 | set int ip address GigabitEthernet2/3/0 db03::1/64 |
| 6 | enable ip6 interface GigabitEthernet2/3/0 |
| 7 | set int state GigabitEthernet2/3/0 up |
| 8 | |
| 9 | comment { subscriber ludd-cluster-4 } |
| 10 | set int ip address GigabitEthernet2/4/0 db04::2/64 |
| 11 | |
| 12 | comment { next address to fake out ND on shared LAN segment } |
| 13 | comment { set int ip address GigabitEthernet2/4/0 db02::13/64 } |
| 14 | |
| 15 | enable ip6 interface GigabitEthernet2/4/0 |
| 16 | set int state GigabitEthernet2/4/0 up |
| 17 | |
| 18 | sr hmac id 2 key Gozzer |
| 19 | sr hmac id 3 key Hoser |
| 20 | |
| 21 | sr tunnel src db04::1 dst db02::1/128 next db03::2 next db02::1 tag db04::2 clean key Hoser |
| 22 | |
| 23 | tap connect srlocal hwaddr random |
| 24 | set int ip6 table tap-0 1 |
| 25 | set int ip address tap-0 db04::99/64 |
| 26 | enable ip6 interface tap-0 |
| 27 | set int state tap-0 up |
| 28 | ip route add table 1 db02::0/64 lookup in table 0 |