blob: 0b2a98bba1b14ebd0797f394143368ac96365fb9 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001comment { test sr segment chunk-offset on }
2test sr hmac validate on
3
Dave Barach7e55d362016-05-14 18:38:48 -04004comment { trunk to leftpeer }
Ed Warnickecb9cada2015-12-08 15:45:58 -07005set int ip address GigabitEthernet2/3/0 db03::1/64
6enable ip6 interface GigabitEthernet2/3/0
7set int state GigabitEthernet2/3/0 up
8
Dave Barach7e55d362016-05-14 18:38:48 -04009comment { subscriber right peer target }
Ed Warnickecb9cada2015-12-08 15:45:58 -070010set int ip address GigabitEthernet2/4/0 db04::2/64
11
12comment { next address to fake out ND on shared LAN segment }
13comment { set int ip address GigabitEthernet2/4/0 db02::13/64 }
14
15enable ip6 interface GigabitEthernet2/4/0
16set int state GigabitEthernet2/4/0 up
17
18sr hmac id 2 key Gozzer
19sr hmac id 3 key Hoser
20
21sr tunnel src db04::1 dst db02::1/128 next db03::2 next db02::1 tag db04::2 clean key Hoser
22
23tap connect srlocal hwaddr random
24set int ip6 table tap-0 1
25set int ip address tap-0 db04::99/64
26enable ip6 interface tap-0
27set int state tap-0 up
28ip route add table 1 db02::0/64 lookup in table 0