summaryrefslogtreecommitdiffstats
path: root/vnet/etc/scripts/rightpeer/rightpeer-sr.conf
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-05-14 18:38:48 -0400
committerDave Barach <dave@barachs.net>2016-05-14 18:39:11 -0400
commit7e55d364fd88bb462c7211209f5cbb5bbae3a68c (patch)
tree781f3309654b27c32808f02b804dca09314af08b /vnet/etc/scripts/rightpeer/rightpeer-sr.conf
parent1d1644c260808293a5629922201546763c3e2b64 (diff)
VPP-63: clean up config scripts, remove specific hostnames
Change-Id: Ifb77256fa691b1a90045a10448835c09b764e74f Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet/etc/scripts/rightpeer/rightpeer-sr.conf')
-rw-r--r--vnet/etc/scripts/rightpeer/rightpeer-sr.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/vnet/etc/scripts/rightpeer/rightpeer-sr.conf b/vnet/etc/scripts/rightpeer/rightpeer-sr.conf
new file mode 100644
index 00000000000..0b2a98bba1b
--- /dev/null
+++ b/vnet/etc/scripts/rightpeer/rightpeer-sr.conf
@@ -0,0 +1,28 @@
+comment { test sr segment chunk-offset on }
+test sr hmac validate on
+
+comment { trunk to leftpeer }
+set int ip address GigabitEthernet2/3/0 db03::1/64
+enable ip6 interface GigabitEthernet2/3/0
+set int state GigabitEthernet2/3/0 up
+
+comment { subscriber right peer target }
+set int ip address GigabitEthernet2/4/0 db04::2/64
+
+comment { next address to fake out ND on shared LAN segment }
+comment { set int ip address GigabitEthernet2/4/0 db02::13/64 }
+
+enable ip6 interface GigabitEthernet2/4/0
+set int state GigabitEthernet2/4/0 up
+
+sr hmac id 2 key Gozzer
+sr hmac id 3 key Hoser
+
+sr tunnel src db04::1 dst db02::1/128 next db03::2 next db02::1 tag db04::2 clean key Hoser
+
+tap connect srlocal hwaddr random
+set int ip6 table tap-0 1
+set int ip address tap-0 db04::99/64
+enable ip6 interface tap-0
+set int state tap-0 up
+ip route add table 1 db02::0/64 lookup in table 0